Skip to content

Commit fbbfed7

Browse files
committed
chore: remove toolchain in env
Signed-off-by: pohanhuang <pohan.huang@suse.com>
1 parent 4d149d7 commit fbbfed7

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

package/Dockerfile

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ARG SIGSTORE_VERSION=7a92b9b39c0a095ce264980df4e7757ef9548efc
55
# Builder
66
#
77
FROM registry.suse.com/bci/golang:1.25 AS builder
8-
ENV GOTOOLCHAIN=1.25.7
98
ARG VERSION
109
ARG VULNDB_CHECKSUM
1110
ARG SIGSTORE_VERSION
@@ -35,9 +34,9 @@ FROM registry.suse.com/bci/bci-base:15.7 AS base
3534

3635
COPY --from=micro / /chroot/
3736
RUN zypper refresh && zypper --installroot /chroot -n in --no-recommends \
38-
ca-certificates procps grep && \
39-
zypper --installroot /chroot clean -a && \
40-
rm -rf /chroot/var/log/
37+
ca-certificates procps grep && \
38+
zypper --installroot /chroot clean -a && \
39+
rm -rf /chroot/var/log/
4140

4241
RUN cd /chroot/usr/bin/ && rm -rf basename chcon chgrp chmod chown chroot cksum dd df dircolors dirname du install install-info join locale localedef mkdir mkfifo mknod mktemp paste pathchk readlink realpath sync smidiff smidump smilink smiquery smistrip smixlate tee tiemout tload top truncate unlink watch
4342

@@ -58,20 +57,20 @@ ARG VULNDB_VERSION
5857
ARG SIGSTORE_VERSION
5958

6059
LABEL name="scanner" \
61-
vendor="SUSE Security" \
62-
version=${VERSION} \
63-
release=${VERSION} \
64-
neuvector.image="neuvector/scanner" \
65-
neuvector.role="scanner" \
66-
neuvector.rev="${COMMIT}" \
67-
neuvector.vuln_db="${VULNDB_VERSION}" \
68-
neuvector.sigstore="${SIGSTORE_VERSION}" \
69-
"io.artifacthub.package.logo-url"=https://avatars2.githubusercontent.com/u/19367275 \
70-
"io.artifacthub.package.readme-url"="https://raw.githubusercontent.com/neuvector/scanner/${VERSION}/README.md" \
71-
"org.opencontainers.image.description"="SUSE Security Scanner" \
72-
"org.opencontainers.image.title"="SUSE Security Scanner" \
73-
"org.opencontainers.image.source"="https://github.com/neuvector/scanner/" \
74-
"org.opencontainers.image.version"="${VERSION}" \
75-
"org.opensuse.reference"="neuvector/scanner:${VERSION}"
60+
vendor="SUSE Security" \
61+
version=${VERSION} \
62+
release=${VERSION} \
63+
neuvector.image="neuvector/scanner" \
64+
neuvector.role="scanner" \
65+
neuvector.rev="${COMMIT}" \
66+
neuvector.vuln_db="${VULNDB_VERSION}" \
67+
neuvector.sigstore="${SIGSTORE_VERSION}" \
68+
"io.artifacthub.package.logo-url"=https://avatars2.githubusercontent.com/u/19367275 \
69+
"io.artifacthub.package.readme-url"="https://raw.githubusercontent.com/neuvector/scanner/${VERSION}/README.md" \
70+
"org.opencontainers.image.description"="SUSE Security Scanner" \
71+
"org.opencontainers.image.title"="SUSE Security Scanner" \
72+
"org.opencontainers.image.source"="https://github.com/neuvector/scanner/" \
73+
"org.opencontainers.image.version"="${VERSION}" \
74+
"org.opensuse.reference"="neuvector/scanner:${VERSION}"
7675

7776
ENTRYPOINT ["/usr/local/bin/monitor"]

0 commit comments

Comments
 (0)