aboutsummaryrefslogtreecommitdiff
path: root/demo
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-20 00:35:09 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-20 00:35:09 -0500
commitf07efbb6fc7a63055a8424799ce03a5f37539873 (patch)
treeff5983b2cae4cc9b8f2f346a47cb3eb23b2f79ae /demo
parentcbfd82db8a20be32ffa82a1afa860729f3097de6 (diff)
downloadsteam-export-f07efbb6fc7a63055a8424799ce03a5f37539873.tar.gz
steam-export-f07efbb6fc7a63055a8424799ce03a5f37539873.tar.xz
Diffstat (limited to 'demo')
-rw-r--r--demo/Dockerfile8
-rwxr-xr-xdemo/entrypoint.sh2
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}"