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

Commit 6302547

Browse files
committed
update dockerfile
1 parent 0c4ffc9 commit 6302547

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
FROM --platform=$BUILDPLATFORM rust:1.61-slim-bullseye AS auditor
1+
FROM --platform=$BUILDPLATFORM rust:1.66-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.1n-1+deb11u1 && \
3+
apt-get install -y --no-install-recommends pkg-config=0.29.2-1 libssl-dev=1.1.1n-0+deb11u3 && \
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 --platform=$BUILDPLATFORM rust:1.61-alpine3.15 AS builder
10-
RUN apk add --no-cache --update musl-dev=1.2.2-r7 && \
9+
FROM --platform=$BUILDPLATFORM rust:1.66-alpine3.17 AS builder
10+
RUN apk add --no-cache --update musl-dev=1.2.3-r4 && \
1111
USER=root cargo new --bin highlights
1212

1313
ARG RUSTTARGET
@@ -40,7 +40,7 @@ RUN if [[ ! -z "$RUSTTARGET" ]]; then \
4040
fi
4141

4242
FROM alpine:3.15.0
43-
RUN apk add --no-cache --update tini=0.19.0-r0 && \
43+
RUN apk add --no-cache --update tini=0.19.0-r1 && \
4444
addgroup -g 1000 highlights \
4545
&& adduser -u 1000 -H -D -G highlights -s /bin/sh highlights
4646
ENTRYPOINT ["/sbin/tini", "--"]

0 commit comments

Comments
 (0)