Skip to content

Commit ecd2536

Browse files
CybotTMTheDevMinerTV
authored andcommitted
docker: ensure that all updates are installed
1 parent 7297195 commit ecd2536

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM golang:1.20.6-alpine AS builder
22

3-
RUN apk --no-cache add gcc musl-dev git
3+
RUN apk update
4+
RUN apk upgrade
5+
RUN apk add gcc musl-dev git
46

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

@@ -17,6 +19,7 @@ FROM alpine:3.18
1719
LABEL ofelia.service=true
1820
LABEL ofelia.enabled=true
1921

22+
RUN apk --no-cache upgrade
2023
RUN apk --no-cache add ca-certificates tzdata
2124

2225
COPY --from=builder /go/bin/ofelia /usr/bin/ofelia

0 commit comments

Comments
 (0)