⬆️ deps (ptth_relay): update Docker build to Rust 1.48 and latest Buster
parent
0c5a37b441
commit
8e171fbf08
|
@ -1,8 +1,8 @@
|
||||||
# https://whitfin.io/speeding-up-rust-docker-builds/
|
# https://whitfin.io/speeding-up-rust-docker-builds/
|
||||||
# TODO: https://stackoverflow.com/questions/57389547/how-to-define-the-context-for-a-docker-build-as-a-specific-commit-on-one-of-the
|
# TODO: https://stackoverflow.com/questions/57389547/how-to-define-the-context-for-a-docker-build-as-a-specific-commit-on-one-of-the
|
||||||
|
|
||||||
# 1.47 slim-buster
|
# rust:1.48-slim-buster
|
||||||
FROM rust@sha256:2a902de987345f126fe59daca200afae1fccb6f68e14e9a27c0fd9cf39f9743f as build
|
FROM rust@sha256:cb6b98346ef41a2062d4d8f099127d880f2ef7c1515d00215fc9ea713b99167b as build
|
||||||
|
|
||||||
#RUN apk add libseccomp-dev
|
#RUN apk add libseccomp-dev
|
||||||
|
|
||||||
|
@ -62,8 +62,8 @@ RUN \
|
||||||
cargo build --release -p ptth_relay && \
|
cargo build --release -p ptth_relay && \
|
||||||
cargo test --release -p ptth_relay
|
cargo test --release -p ptth_relay
|
||||||
|
|
||||||
# buster-slim
|
# debian:buster-slim
|
||||||
FROM debian@sha256:062bbd9a1a58c9c5b8fc9d83a206371127ef268cfcc65f1a01227c6faebdb212
|
FROM debian@sha256:240f770008bdc538fecc8d3fa7a32a533eac55c14cbc56a9a8a6f7d741b47e33
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y libssl1.1 ca-certificates \
|
&& apt-get install -y libssl1.1 ca-certificates \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1.47.0
|
1.48.0
|
||||||
|
|
Loading…
Reference in New Issue