Use debian as base image for amd64

This commit is contained in:
Jannis Mattheis 2021-01-06 14:40:06 +01:00
parent 1eecb53c4b
commit 48e55d5765
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
FROM arm32v7/debian
FROM arm32v7/debian:stable-slim
WORKDIR /app
ADD gotify-app /app/
EXPOSE 80