Added basic support for pre/post hooks

This commit is contained in:
John Edwards 2023-11-05 14:28:31 +00:00
parent f4e25c5344
commit b8d6fe4533
5 changed files with 39 additions and 0 deletions

View file

@ -18,6 +18,8 @@ ENV CFG_URL https://raw.githubusercontent.com/joedwards32/CS2/settings.tgz
COPY etc/entry.sh "${HOMEDIR}/entry.sh"
COPY etc/server.cfg "/etc/server.cfg"
COPY etc/pre.sh "/etc/pre.sh"
COPY etc/post.sh "/etc/post.sh"
RUN set -x \
# Install, update & upgrade packages