Skip to content

Commit

Permalink
fix: set -e in rootless script
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Nov 17, 2024
1 parent 717ddc7 commit 5e076a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ ENV\
ANSIBLE_CONFIG=/server-config/ansible.cfg\
LC_ALL=C.UTF-8\
UID=1000\
GID=1000
GID=1000\
CUSTOM_SERVER=server.jar

# Install ansible collections
COPY config/ansible-requirements.yml /opt/ansible/requirements.yml
Expand Down Expand Up @@ -61,7 +62,7 @@ ENV\
SERVER_NAME=dev\
HOME=/server\
TYPE=velocity\
ANSIBLE_CONFIG=/server-config/ansible.cfg
ANSIBLE_CONFIG=/server-config/ansible.cfg\

# Install ansible & collections
RUN PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install ansible-core
Expand Down
1 change: 1 addition & 0 deletions scripts/rootless
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
set -e

echo [Init] Running scripts as user: $(whoami)

Expand Down

0 comments on commit 5e076a1

Please sign in to comment.