Merge pull request #21 from dangeroustech/biodrone/issue20

Biodrone/issue20
This commit is contained in:
2023-09-22 21:57:40 +01:00
committed by GitHub
2 changed files with 6 additions and 3 deletions

View File

@@ -50,7 +50,10 @@ jobs:
id: scan id: scan
with: with:
sbom: sbom.spdx.json sbom: sbom.spdx.json
severity-cutoff: high
fail-build: false fail-build: false
only-fixed: true
by-cve: true
- name: upload Anchore scan SARIF report - name: upload Anchore scan SARIF report
uses: github/codeql-action/upload-sarif@v2 uses: github/codeql-action/upload-sarif@v2

View File

@@ -1,11 +1,11 @@
FROM debian:buster as stage FROM debian:bookworm as stage
ARG PACKAGE_BASEURL=https://download.zerotier.com/debian/buster/pool/main/z/zerotier-one ARG PACKAGE_BASEURL=https://download.zerotier.com/debian/bookworm/pool/main/z/zerotier-one
ARG ARCH=amd64 ARG ARCH=amd64
ARG VERSION=1.12.2 ARG VERSION=1.12.2
RUN apt-get update -qq && apt-get install -qq --no-install-recommends -y ca-certificates curl RUN apt-get update -qq && apt-get install -qq --no-install-recommends -y ca-certificates curl
RUN curl -sSL -o zerotier-one.deb "${PACKAGE_BASEURL}/zerotier-one_${VERSION}_${ARCH}.deb" RUN curl -sSL -o zerotier-one.deb "${PACKAGE_BASEURL}/zerotier-one_${VERSION}_${ARCH}.deb"
FROM debian:buster FROM debian:bookworm
RUN mkdir /app RUN mkdir /app
WORKDIR /app WORKDIR /app
COPY --from=stage zerotier-one.deb . COPY --from=stage zerotier-one.deb .