File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11# ---------------------------------------------------------------------
22# STAGE 1: Build skopeo inside a temporary container
33# ---------------------------------------------------------------------
4- FROM golang:1.13.1-alpine3.10 AS skopeo-build
4+ FROM fedora:32 AS skopeo-build
55
6- RUN apk --no-cache add git make gcc musl-dev ostree-dev go-md2man
7- RUN git clone --depth 1 -b 'v0.2.0' https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
6+ RUN dnf install -y golang git make
7+ RUN dnf install -y go-md2man gpgme-devel libassuan-devel btrfs-progs-devel device-mapper-devel
8+ RUN git clone --depth 1 -b 'v1.2.2' https://github.com/containers/skopeo $GOPATH/src/github.com/containers/skopeo
89RUN cd $GOPATH/src/github.com/containers/skopeo \
9- && make binary-local-static DISABLE_CGO=1 \
10+ && make bin/skopeo DISABLE_CGO=1 \
1011 && make install
1112
1213# ---------------------------------------------------------------------
1314# STAGE 2: Build the kubernetes-monitor
1415# ---------------------------------------------------------------------
15- FROM registry.access.redhat.com/ubi8/ubi:latest
16+ FROM registry.access.redhat.com/ubi8/ubi:8.3
1617
1718LABEL name="Snyk Controller" \
1819
You can’t perform that action at this time.
0 commit comments