Skip to content

Commit

Permalink
ensure distro has all updates installed
Browse files Browse the repository at this point in the history
  • Loading branch information
CybotTM authored Jul 25, 2023
1 parent 7297195 commit a028aeb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM golang:1.20.6-alpine AS builder

RUN apk --no-cache add gcc musl-dev git
RUN apk update
RUN apk upgrade
RUN apk add gcc musl-dev git

WORKDIR ${GOPATH}/src/github.com/netresearch/ofelia

Expand All @@ -17,6 +19,7 @@ FROM alpine:3.18
LABEL ofelia.service=true
LABEL ofelia.enabled=true

RUN apk --no-cache upgrade
RUN apk --no-cache add ca-certificates tzdata

COPY --from=builder /go/bin/ofelia /usr/bin/ofelia
Expand Down

0 comments on commit a028aeb

Please sign in to comment.