Skip to content
This repository was archived by the owner on Mar 24, 2024. It is now read-only.

Commit 8a28229

Browse files
committed
update dockerfile
1 parent 1b6cabd commit 8a28229

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM rust:1.57-slim-bullseye AS auditor
1+
FROM rust:1.61-slim-bullseye AS auditor
22
RUN 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
66
COPY ["Cargo.*", "./"]
77
RUN 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
1212
WORKDIR /highlights
1313
COPY ["Cargo.toml", "Cargo.lock", "./"]
@@ -17,7 +17,7 @@ RUN cargo build --release && \
1717
COPY ["src", "./src"]
1818
RUN cargo build --release
1919

20-
FROM alpine:3.14.0
20+
FROM alpine:3.15.0
2121
RUN 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

0 commit comments

Comments
 (0)