Use debian as base image for amd64
This commit is contained in:
parent
1eecb53c4b
commit
48e55d5765
|
|
@ -1,7 +1,11 @@
|
||||||
FROM frolvlad/alpine-glibc:glibc-2.31
|
FROM amd64/debian:stable-slim
|
||||||
ENV GOTIFY_SERVER_PORT="80"
|
ENV GOTIFY_SERVER_PORT="80"
|
||||||
WORKDIR /app
|
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/
|
ADD gotify-app /app/
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s CMD curl --fail http://localhost:$GOTIFY_SERVER_PORT/health || exit 1
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s CMD curl --fail http://localhost:$GOTIFY_SERVER_PORT/health || exit 1
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
FROM arm32v7/debian
|
FROM arm32v7/debian:stable-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ADD gotify-app /app/
|
ADD gotify-app /app/
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["./gotify-app"]
|
ENTRYPOINT ["./gotify-app"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue