Skip to content

Commit 175b27f

Browse files
committed
fixed sec vulns
1 parent 87455cd commit 175b27f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
ARG DOCKER_VERSION=20.10.13
2-
31
# dind-cleaner
42
FROM golang:1.16-alpine3.15 AS cleaner
53

@@ -15,15 +13,14 @@ RUN CGO_ENABLED=0 go build -o /usr/local/bin/dind-cleaner ./cmd && \
1513
rm -rf /go/*
1614

1715
# bolter
18-
FROM golang:1.16-alpine3.15 AS bolter
19-
RUN apk add git
20-
RUN go get -u github.com/hasit/bolter
16+
FROM golang:1.19-alpine3.16 AS bolter
17+
RUN go install github.com/hasit/bolter@v0.0.0-20210331045447-e1283cecdb7b
2118

2219
# node-exporter
2320
FROM quay.io/prometheus/node-exporter:v1.0.0 AS node-exporter
2421

2522
# Main
26-
FROM docker:${DOCKER_VERSION}-dind
23+
FROM docker:20.10-dind
2724

2825
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.11/main' >> /etc/apk/repositories \
2926
&& apk upgrade \

0 commit comments

Comments
 (0)