Skip to content

Commit

Permalink
build 🔧 improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Jun 13, 2024
1 parent f31f7a3 commit 71ddd83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:18.04

ARG GAME

RUN if [ -z "$GAME" ]; then echo "The GAME environment variable is not set. Please specify one and try again." && exit 1; fi
RUN if [ -z "$GAME" ]; then echo "The GAME environment variable is not set, specify one and try again. Please refer to the README for instructions: https://github.com/JamesIves/hlds-docker" && exit 1; fi

RUN dpkg --add-architecture i386 && \
apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env sh

if [ -z "$GAME" ]; then
echo "The GAME environment variable is not set. Script execution cancelled."
echo "The GAME environment variable is not set, please refer to the README for instructions: https://github.com/JamesIves/hlds-docker"
exit 1
fi

Expand Down

0 comments on commit 71ddd83

Please sign in to comment.