Skip to content

Commit

Permalink
build: fix apt remove
Browse files Browse the repository at this point in the history
  • Loading branch information
pupilcc committed Jul 30, 2024
1 parent 16f6b5c commit 6180be8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ COPY . .
RUN CGO_ENABLED=1 GOOS=linux go build -a -o /go/bin/autossl .

FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates curl openssl \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y ca-certificates curl openssl
RUN curl https://get.acme.sh | sh
WORKDIR /root/
COPY --from=builder /go/bin/autossl .
Expand Down

0 comments on commit 6180be8

Please sign in to comment.