Skip to content

Commit

Permalink
Use debian as base image for amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
jmattheis committed Jan 6, 2021
1 parent 1eecb53 commit 48e55d5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM frolvlad/alpine-glibc:glibc-2.31
FROM amd64/debian:stable-slim
ENV GOTIFY_SERVER_PORT="80"
WORKDIR /app
RUN apk add --no-cache ca-certificates tzdata curl
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -yq \
tzdata \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
ADD gotify-app /app/
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s CMD curl --fail http://localhost:$GOTIFY_SERVER_PORT/health || exit 1
EXPOSE 80
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile.armv7
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM arm32v7/debian
FROM arm32v7/debian:stable-slim
WORKDIR /app
ADD gotify-app /app/
EXPOSE 80
ENTRYPOINT ["./gotify-app"]
ENTRYPOINT ["./gotify-app"]

0 comments on commit 48e55d5

Please sign in to comment.