Skip to content

Commit 72e6faa

Browse files
authored
v1.83.0 (#31)
- debian 12.8 - rust 1.83.0 - libpq 15.9
1 parent 607130b commit 72e6faa

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# NOTE: Most of Dockerfile and related were borrowed from https://hub.docker.com/r/ekidd/rust-musl-builder
22

3-
FROM debian:12.7-slim
3+
FROM debian:12.8-slim
44

55
ARG VERSION=0.0.0
66
ENV VERSION=${VERSION}
@@ -132,7 +132,7 @@ RUN set -eux \
132132

133133

134134
# libpq - https://ftp.postgresql.org/pub/source/
135-
ARG POSTGRESQL_VERSION=15.8
135+
ARG POSTGRESQL_VERSION=15.9
136136

137137
RUN set -eux \
138138
&& echo "Building libpq ${POSTGRESQL_VERSION}..." \
@@ -220,7 +220,7 @@ RUN set -eux \
220220
&& true
221221

222222
# Rust stable toolchain
223-
ARG TOOLCHAIN=1.82.0
223+
ARG TOOLCHAIN=1.83.0
224224

225225
# Install our Rust toolchain and the `musl` target. We patch the
226226
# command-line we pass to the installer so that it won't attempt to

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Below are the default toolchains included in the Docker image.
4242
docker run --rm \
4343
--volume "${PWD}/sample":/root/src \
4444
--workdir /root/src \
45-
joseluisq/rust-linux-darwin-builder:1.82.0 \
45+
joseluisq/rust-linux-darwin-builder:1.83.0 \
4646
sh -c "cargo build --release --target x86_64-unknown-linux-musl"
4747
```
4848

@@ -52,7 +52,7 @@ docker run --rm \
5252
docker run --rm \
5353
--volume "${PWD}/sample":/root/src \
5454
--workdir /root/src \
55-
joseluisq/rust-linux-darwin-builder:1.82.0 \
55+
joseluisq/rust-linux-darwin-builder:1.83.0 \
5656
sh -c "cargo build --release --target x86_64-unknown-linux-gnu"
5757
```
5858

@@ -62,7 +62,7 @@ docker run --rm \
6262
docker run --rm \
6363
--volume "${PWD}/sample":/root/src \
6464
--workdir /root/src \
65-
joseluisq/rust-linux-darwin-builder:1.82.0 \
65+
joseluisq/rust-linux-darwin-builder:1.83.0 \
6666
sh -c "cargo build --release --target x86_64-apple-darwin"
6767
```
6868

@@ -74,7 +74,7 @@ docker run --rm \
7474
docker run --rm \
7575
--volume "${PWD}/sample":/root/src \
7676
--workdir /root/src \
77-
joseluisq/rust-linux-darwin-builder:1.82.0 \
77+
joseluisq/rust-linux-darwin-builder:1.83.0 \
7878
sh -c "cargo build --release --target aarch64-unknown-linux-gnu"
7979
```
8080

@@ -84,7 +84,7 @@ docker run --rm \
8484
docker run --rm \
8585
--volume "${PWD}/sample":/root/src \
8686
--workdir /root/src \
87-
joseluisq/rust-linux-darwin-builder:1.82.0 \
87+
joseluisq/rust-linux-darwin-builder:1.83.0 \
8888
sh -c "cargo build --release --target aarch64-unknown-linux-musl"
8989
```
9090

@@ -94,7 +94,7 @@ docker run --rm \
9494
docker run --rm \
9595
--volume "${PWD}/sample":/root/src \
9696
--workdir /root/src \
97-
joseluisq/rust-linux-darwin-builder:1.82.0 \
97+
joseluisq/rust-linux-darwin-builder:1.83.0 \
9898
sh -c "cargo build --release --target aarch64-apple-darwin"
9999
```
100100

@@ -107,7 +107,7 @@ It's known that the [`CARGO_HOME`](https://doc.rust-lang.org/cargo/guide/cargo-h
107107
You can also use the image as a base for your Dockerfile:
108108

109109
```Dockerfile
110-
FROM joseluisq/rust-linux-darwin-builder:1.82.0
110+
FROM joseluisq/rust-linux-darwin-builder:1.83.0
111111
```
112112

113113
### OSXCross
@@ -150,7 +150,7 @@ compile:
150150
@docker run --rm -it \
151151
-v $(PWD):/app/src \
152152
-w /app/src \
153-
joseluisq/rust-linux-darwin-builder:1.82.0 \
153+
joseluisq/rust-linux-darwin-builder:1.83.0 \
154154
make cross-compile
155155
.PHONY: compile
156156

@@ -174,12 +174,12 @@ Just run the makefile `compile` target, then you will see two release binaries `
174174
```sh
175175
make compile
176176
# 1. Cross compiling example...
177-
# rustc 1.82.0 (f6e511eec 2024-10-15)
177+
# rustc 1.83.0 (90b35a623 2024-11-26)
178178
# binary: rustc
179-
# commit-hash: f6e511eec7342f59a25f7c0534f1dbea00d01b14
180-
# commit-date: 2024-10-15
179+
# commit-hash: 90b35a6239c3d8bdabc530a6a0816f7ff89a0aaf
180+
# commit-date: 2024-11-26
181181
# host: x86_64-unknown-linux-gnu
182-
# release: 1.82.0
182+
# release: 1.83.0
183183
# LLVM version: 19.1.1
184184

185185
# 2. Compiling application (linux-musl x86_64)...

0 commit comments

Comments
 (0)