diff --git a/Dockerfile b/Dockerfile index 22574cb..370bce0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # NOTE: Most of Dockerfile and related were borrowed from https://hub.docker.com/r/ekidd/rust-musl-builder -FROM debian:12.7-slim +FROM debian:12.8-slim ARG VERSION=0.0.0 ENV VERSION=${VERSION} @@ -132,7 +132,7 @@ RUN set -eux \ # libpq - https://ftp.postgresql.org/pub/source/ -ARG POSTGRESQL_VERSION=15.8 +ARG POSTGRESQL_VERSION=15.9 RUN set -eux \ && echo "Building libpq ${POSTGRESQL_VERSION}..." \ @@ -220,7 +220,7 @@ RUN set -eux \ && true # Rust stable toolchain -ARG TOOLCHAIN=1.82.0 +ARG TOOLCHAIN=1.83.0 # Install our Rust toolchain and the `musl` target. We patch the # command-line we pass to the installer so that it won't attempt to diff --git a/README.md b/README.md index c924364..6572fa2 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ Below are the default toolchains included in the Docker image. docker run --rm \ --volume "${PWD}/sample":/root/src \ --workdir /root/src \ - joseluisq/rust-linux-darwin-builder:1.82.0 \ + joseluisq/rust-linux-darwin-builder:1.83.0 \ sh -c "cargo build --release --target x86_64-unknown-linux-musl" ``` @@ -52,7 +52,7 @@ docker run --rm \ docker run --rm \ --volume "${PWD}/sample":/root/src \ --workdir /root/src \ - joseluisq/rust-linux-darwin-builder:1.82.0 \ + joseluisq/rust-linux-darwin-builder:1.83.0 \ sh -c "cargo build --release --target x86_64-unknown-linux-gnu" ``` @@ -62,7 +62,7 @@ docker run --rm \ docker run --rm \ --volume "${PWD}/sample":/root/src \ --workdir /root/src \ - joseluisq/rust-linux-darwin-builder:1.82.0 \ + joseluisq/rust-linux-darwin-builder:1.83.0 \ sh -c "cargo build --release --target x86_64-apple-darwin" ``` @@ -74,7 +74,7 @@ docker run --rm \ docker run --rm \ --volume "${PWD}/sample":/root/src \ --workdir /root/src \ - joseluisq/rust-linux-darwin-builder:1.82.0 \ + joseluisq/rust-linux-darwin-builder:1.83.0 \ sh -c "cargo build --release --target aarch64-unknown-linux-gnu" ``` @@ -84,7 +84,7 @@ docker run --rm \ docker run --rm \ --volume "${PWD}/sample":/root/src \ --workdir /root/src \ - joseluisq/rust-linux-darwin-builder:1.82.0 \ + joseluisq/rust-linux-darwin-builder:1.83.0 \ sh -c "cargo build --release --target aarch64-unknown-linux-musl" ``` @@ -94,7 +94,7 @@ docker run --rm \ docker run --rm \ --volume "${PWD}/sample":/root/src \ --workdir /root/src \ - joseluisq/rust-linux-darwin-builder:1.82.0 \ + joseluisq/rust-linux-darwin-builder:1.83.0 \ sh -c "cargo build --release --target aarch64-apple-darwin" ``` @@ -107,7 +107,7 @@ It's known that the [`CARGO_HOME`](https://doc.rust-lang.org/cargo/guide/cargo-h You can also use the image as a base for your Dockerfile: ```Dockerfile -FROM joseluisq/rust-linux-darwin-builder:1.82.0 +FROM joseluisq/rust-linux-darwin-builder:1.83.0 ``` ### OSXCross @@ -150,7 +150,7 @@ compile: @docker run --rm -it \ -v $(PWD):/app/src \ -w /app/src \ - joseluisq/rust-linux-darwin-builder:1.82.0 \ + joseluisq/rust-linux-darwin-builder:1.83.0 \ make cross-compile .PHONY: compile @@ -174,12 +174,12 @@ Just run the makefile `compile` target, then you will see two release binaries ` ```sh make compile # 1. Cross compiling example... -# rustc 1.82.0 (f6e511eec 2024-10-15) +# rustc 1.83.0 (90b35a623 2024-11-26) # binary: rustc -# commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14 -# commit-date: 2024-10-15 +# commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf +# commit-date: 2024-11-26 # host: x86_64-unknown-linux-gnu -# release: 1.82.0 +# release: 1.83.0 # LLVM version: 19.1.1 # 2. Compiling application (linux-musl x86_64)...