diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-20 00:35:09 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-20 00:35:09 -0500 |
| commit | f07efbb6fc7a63055a8424799ce03a5f37539873 (patch) | |
| tree | ff5983b2cae4cc9b8f2f346a47cb3eb23b2f79ae /demo | |
| parent | cbfd82db8a20be32ffa82a1afa860729f3097de6 (diff) | |
| download | steam-export-dev-wip.tar.gz steam-export-dev-wip.tar.xz | |
wipdev-wip
Diffstat (limited to 'demo')
| -rw-r--r-- | demo/Dockerfile | 8 | ||||
| -rwxr-xr-x | demo/entrypoint.sh | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/demo/Dockerfile b/demo/Dockerfile index 5b1101a..92a18dc 100644 --- a/demo/Dockerfile +++ b/demo/Dockerfile @@ -1,7 +1,7 @@ -FROM golang:1.16-alpine +FROM docker.io/golang:1.19-alpine -RUN apk update -RUN apk add nginx +# RUN apk update +# RUN apk add nginx RUN mkdir /code /steam-lib @@ -13,5 +13,7 @@ RUN go build -ldflags="-X 'main.Version=Demo'" -o /bin/steam-export ./cmd/web COPY demo/entrypoint.sh / +RUN chmod +x /entrypoint.sh + ENTRYPOINT /entrypoint.sh diff --git a/demo/entrypoint.sh b/demo/entrypoint.sh index e060597..3c65e54 100755 --- a/demo/entrypoint.sh +++ b/demo/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh USER_SHELL="${USER_SHELL:-/bin/ash}" -# UID and GID used by the `git` user inside of the container +# UID and GID used by the user inside of the container USER_UID="${USER_UID:-3500}" USER_GID="${USER_GID:-3500}" |
