Skip to content

Commit a624221

Browse files
committed
fix: update skopeo to latest
1 parent 6b8b892 commit a624221

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
#---------------------------------------------------------------------
2-
# STAGE 1: Build skopeo and ecr-credentials-helper inside a temporary container
2+
# STAGE 1: Build skopeo inside a temporary container
33
#---------------------------------------------------------------------
44
FROM fedora:32 AS skopeo-build
55

66
RUN dnf install -y golang git make
77
RUN dnf install -y go-md2man gpgme-devel libassuan-devel btrfs-progs-devel device-mapper-devel
8-
RUN git clone --depth 1 -b 'v1.4.1' https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
8+
RUN git clone --depth 1 -b 'v1.5.1' https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
99
RUN cd $GOPATH/src/github.com/containers/skopeo \
1010
&& make bin/skopeo DISABLE_CGO=1 \
1111
&& make install
1212

13+
#---------------------------------------------------------------------
14+
# STAGE 2: Build credential helpers inside a temporary container
15+
#---------------------------------------------------------------------
1316
FROM golang:1.17 AS cred-helpers-build
1417

1518
RUN go get -u github.com/awslabs/amazon-ecr-credential-helper/ecr-login/cli/docker-credential-ecr-login
1619
RUN go get -u github.com/chrismellard/docker-credential-acr-env
1720

1821
#---------------------------------------------------------------------
19-
# STAGE 2: Build the kubernetes-monitor
22+
# STAGE 3: Build the kubernetes-monitor
2023
#---------------------------------------------------------------------
2124
FROM registry.access.redhat.com/ubi8/ubi:8.5
2225

0 commit comments

Comments
 (0)