moved from alpine to debian

This commit is contained in:
James Tombleson 2023-05-28 15:38:52 -07:00
parent ae06bb6c7e
commit b6b7b14388

View File

@ -1,13 +1,10 @@
FROM golang:1.19 as build FROM golang:1.20 as build
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN go build . RUN go build .
FROM alpine:latest as app FROM debian:latest as app
RUN apk --no-cache add bash libc6-compat && \
mkdir /app
COPY --from=build /app/ddns /app COPY --from=build /app/ddns /app