File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,15 @@ RUN go get -u github.com/go-delve/delve/cmd/dlv
8
8
9
9
FROM alpine:3.16 as dl
10
10
WORKDIR /dl
11
- RUN apk add --no-cache curl \
12
- && curl -OL https://github.com/opencontainers/runc/releases/download/v1.1.3/runc.amd64 \
13
- && chmod +x runc.amd64
11
+ RUN apk add --no-cache curl file \
12
+ && curl -OsSL https://github.com/opencontainers/runc/releases/download/v1.1.4/runc.amd64 \
13
+ && chmod +x runc.amd64 \
14
+ && if ! file runc.amd64 | grep -iq "ELF 64-bit LSB executable" ; then echo "runc.amd64 is not a binary file" ; exit 1;fi
14
15
15
16
FROM ubuntu:22.04
16
17
17
18
# # Installing coreutils is super important here as otherwise the loopback device creation fails!
18
- ARG CLOUD_SDK_VERSION=390 .0.0
19
+ ARG CLOUD_SDK_VERSION=402 .0.0
19
20
ENV CLOUD_SDK_VERSION=$CLOUD_SDK_VERSION
20
21
ENV CLOUDSDK_CORE_DISABLE_PROMPTS=1
21
22
Original file line number Diff line number Diff line change 4
4
5
5
FROM alpine:3.16 as dl
6
6
WORKDIR /dl
7
- RUN apk add --no-cache curl \
8
- && curl -OL https://github.com/opencontainers/runc/releases/download/v1.1.3/runc.amd64 \
9
- && chmod +x runc.amd64
7
+ RUN apk add --no-cache curl file \
8
+ && curl -OsSL https://github.com/opencontainers/runc/releases/download/v1.1.4/runc.amd64 \
9
+ && chmod +x runc.amd64 \
10
+ && if ! file runc.amd64 | grep -iq "ELF 64-bit LSB executable" ; then echo "runc.amd64 is not a binary file" ; exit 1;fi
10
11
11
12
FROM ubuntu:22.04
12
13
13
14
# # Installing coreutils is super important here as otherwise the loopback device creation fails!
14
- ARG CLOUD_SDK_VERSION=390 .0.0
15
+ ARG CLOUD_SDK_VERSION=402 .0.0
15
16
ENV CLOUD_SDK_VERSION=$CLOUD_SDK_VERSION
16
17
ENV CLOUDSDK_CORE_DISABLE_PROMPTS=1
17
18
You can’t perform that action at this time.
0 commit comments