Update Dockerfile
switched to debian bullseye
This commit is contained in:
parent
ea96f504c8
commit
27de4f3b1f
@ -6,7 +6,7 @@ RUN mkdir -p /root/go/src
|
|||||||
COPY dyndns /root/go/src/dyndns
|
COPY dyndns /root/go/src/dyndns
|
||||||
RUN cd /root/go/src/dyndns && go mod download && GOOS=linux go build -o /root/go/bin/dyndns && go test -v
|
RUN cd /root/go/src/dyndns && go mod download && GOOS=linux go build -o /root/go/bin/dyndns && go test -v
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get install -q -y bind9 dnsutils curl && \
|
apt-get install -q -y bind9 dnsutils curl && \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user