File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM golang:1.23.1@sha256:4a3c2bcd243d3dbb7b15237eecb0792db3614900037998c2cd6a579c46888c1e as build
1+ FROM golang:1.23.1@sha256:4a3c2bcd243d3dbb7b15237eecb0792db3614900037998c2cd6a579c46888c1e AS build
22RUN apt-get update && apt-get install -y libpcap-dev
33WORKDIR /src
44
@@ -10,9 +10,9 @@ RUN go mod download
1010COPY . ./
1111RUN go build -o analyze ./cmd/analyze && go build -o worker ./cmd/worker
1212
13- FROM ubuntu:22.04@sha256:42ba2dfce475de1113d55602d40af18415897167d47c2045ec7b6d9746ff148f
13+ FROM ubuntu:22.04@sha256:3ba65aa20f86a0fad9df2b2c259c613df006b2e6d0bfcc8a146afb8c525a9751
1414
15- ENV DEBIAN_FRONTEND noninteractive
15+ ENV DEBIAN_FRONTEND= " noninteractive"
1616RUN apt-get update && apt-get upgrade -y && \
1717 apt-get install -y \
1818 apt-transport-https \
Original file line number Diff line number Diff line change 1- FROM golang:1.23.1@sha256:4a3c2bcd243d3dbb7b15237eecb0792db3614900037998c2cd6a579c46888c1e as build
1+ FROM golang:1.23.1@sha256:4a3c2bcd243d3dbb7b15237eecb0792db3614900037998c2cd6a579c46888c1e AS build
22WORKDIR /src
33
44# First cache the dependencies to avoid downloading again on code change
@@ -10,7 +10,7 @@ COPY . ./
1010RUN CGO_ENABLED=0 go build -o scheduler ./cmd/scheduler/main.go
1111
1212
13- FROM gcr.io/distroless/base:nonroot@sha256:bc84925113289d139a9ef2f309f0dd7ac46ea7b786f172ba9084ffdb4cbd9490
13+ FROM gcr.io/distroless/base:nonroot@sha256:746b9dbe3065a124395d4a7698241dbd6f3febbf01b73e48f942aabd7b8e5eac
1414
1515COPY --from=build /src/scheduler /usr/local/bin/scheduler
1616
Original file line number Diff line number Diff line change 55# NO_PUBKEY B53DC80D13EDEF05 [kubectl]
66
77# buildpack-deps 22.04 [ubuntu]
8- FROM buildpack-deps@sha256:d76488a56e1e85930e053b794daa9f990636565bf0de54903d65d93c43c3cad5 AS image
8+ FROM buildpack-deps@sha256:e3a9f4d68852ea0111610b75443f6eb809c28816b04088722f9a079a49cf1287 AS image
99
1010# All intermediate files during first-stage build are stored under /setup
1111# This directory is removed before second-stage build (i.e. copying runtime files to an empty image)
1212WORKDIR /setup
1313
1414# Suppress questions relating to package installs
15- ENV DEBIAN_FRONTEND noninteractive
15+ ENV DEBIAN_FRONTEND= " noninteractive"
1616# Silence 'debconf: delaying package configuation, since apt-utils is not installed' warning
1717# as it related to interactive configuration anyway
1818ENV DEBCONF_NOWARNINGS="yes"
Original file line number Diff line number Diff line change 1- FROM golang:1.23.1@sha256:4a3c2bcd243d3dbb7b15237eecb0792db3614900037998c2cd6a579c46888c1e as build
1+ FROM golang:1.23.1@sha256:4a3c2bcd243d3dbb7b15237eecb0792db3614900037998c2cd6a579c46888c1e AS build
22
33# Note: Dockerfile uses paths relative to the top-level project directory,
44# so it should be built from that directory, i.e:
@@ -18,7 +18,7 @@ WORKDIR /src/sandboxes/staticanalysis
1818# If CGO is disabled then we don't need glibc
1919RUN CGO_ENABLED=0 go build -o staticanalyze staticanalyze.go
2020
21- FROM alpine:3.17.1 @sha256:93d5a28ff72d288d69b5997b8ba47396d2cbb62a72b5d87cd3351094b5d578a0
21+ FROM alpine:3.23.3 @sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
2222RUN apk add --no-cache file && \
2323 apk add --no-cache nodejs && \
2424 apk add --no-cache npm && \
You can’t perform that action at this time.
0 commit comments