Skip to content

Commit

Permalink
Dockerfile: update base image
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Dec 24, 2023
1 parent 83365af commit 640e890
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=cyberdojo/sinatra-base:76dd1ca
ARG BASE_IMAGE=cyberdojo/sinatra-base:ba15209
FROM ${BASE_IMAGE}
LABEL [email protected]

Expand All @@ -16,13 +16,11 @@ COPY --chown=saver:nogroup . /

ARG COMMIT_SHA
ENV SHA=${COMMIT_SHA}
ENV COMMIT_SHA=${COMMIT_SHA}

# ARGs are reset after FROM See https://github.com/moby/moby/issues/34129
ARG BASE_IMAGE
ENV BASE_IMAGE=${BASE_IMAGE}


USER saver
HEALTHCHECK --interval=1s --timeout=1s --retries=5 --start-period=5s CMD /app/config/healthcheck.sh
ENTRYPOINT ["/sbin/tini", "-g", "--"]
Expand Down

0 comments on commit 640e890

Please sign in to comment.