This repository was archived by the owner on Mar 24, 2024. It is now read-only.
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 rust:1.57 -slim-bullseye AS auditor
1+ FROM rust:1.61 -slim-bullseye AS auditor
22RUN apt-get update && \
3- apt-get install -y --no-install-recommends pkg-config=0.29.2-1 libssl-dev=1.1.1k -1+deb11u1 && \
3+ apt-get install -y --no-install-recommends pkg-config=0.29.2-1 libssl-dev=1.1.1n -1+deb11u1 && \
44 USER=root cargo new --bin highlights && \
55 cargo install cargo-audit
66COPY ["Cargo.*" , "./" ]
77RUN cargo audit -D unsound -D yanked
88
9- FROM rust:1.57 -alpine3.14 AS builder
10- RUN apk add --no-cache --update musl-dev=1.2.2-r3 && \
9+ FROM rust:1.61 -alpine3.15 AS builder
10+ RUN apk add --no-cache --update musl-dev=1.2.2-r7 && \
1111 USER=root cargo new --bin highlights
1212WORKDIR /highlights
1313COPY ["Cargo.toml" , "Cargo.lock" , "./" ]
@@ -17,7 +17,7 @@ RUN cargo build --release && \
1717COPY ["src" , "./src" ]
1818RUN cargo build --release
1919
20- FROM alpine:3.14 .0
20+ FROM alpine:3.15 .0
2121RUN apk add --no-cache --update tini=0.19.0-r0 && \
2222 addgroup -g 1000 highlights \
2323 && adduser -u 1000 -H -D -G highlights -s /bin/sh highlights
You can’t perform that action at this time.
0 commit comments