Skip to content

Commit 1289439

Browse files
committed
Bump versions
1 parent c236f29 commit 1289439

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:23.04
1+
FROM ubuntu:24.04
22

33
ARG TOOLCHAIN
44

@@ -17,30 +17,30 @@ RUN curl https://sh.rustup.rs -sSf | \
1717
sh -s -- -y --default-toolchain $TOOLCHAIN && \
1818
/root/.cargo/bin/rustup target add x86_64-unknown-linux-musl
1919

20-
RUN cd /tmp && LIBLZMA_VERSION=5.4.4 && \
20+
RUN cd /tmp && LIBLZMA_VERSION=5.6.2 && \
2121
curl -LO "https://tukaani.org/xz/xz-$LIBLZMA_VERSION.tar.xz" && \
2222
tar xf "xz-$LIBLZMA_VERSION.tar.xz" && cd xz-$LIBLZMA_VERSION && \
2323
CC=musl-gcc ./configure --enable-static --disable-shared --prefix=/usr/local/musl && \
2424
make install
2525

2626
# See https://github.com/openssl/openssl/issues/7207 for "-idirafter" CC setting
27-
RUN cd /tmp && OPENSSL_VERSION=3.1.3 && \
28-
curl -LO "https://www.openssl.org/source/openssl-$OPENSSL_VERSION.tar.gz" && \
27+
RUN cd /tmp && OPENSSL_VERSION=3.3.2 && \
28+
curl -LO "https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz" && \
2929
tar xf "openssl-$OPENSSL_VERSION.tar.gz" && cd "openssl-$OPENSSL_VERSION" && \
3030
env CC="musl-gcc -static -idirafter /usr/include/ -idirafter /usr/include/x86_64-linux-gnu/" ./Configure \
3131
no-shared no-zlib no-engine no-unit-test \
3232
-fPIC --prefix=/usr/local/musl linux-x86_64 && \
3333
env C_INCLUDE_PATH=/usr/local/musl/include/ make depend && \
3434
make install_sw
3535

36-
RUN cd /tmp && ZLIB_VERSION=1.3 && \
36+
RUN cd /tmp && ZLIB_VERSION=1.3.1 && \
3737
curl -LO "https://zlib.net/zlib-$ZLIB_VERSION.tar.gz" && \
3838
tar xf "zlib-$ZLIB_VERSION.tar.gz" && cd "zlib-$ZLIB_VERSION" && \
3939
CC=musl-gcc ./configure --static --prefix=/usr/local/musl && \
4040
make install
4141

42-
RUN cd /tmp && SQLITE_VERSION=sqlite-autoconf-3430100 && \
43-
curl -LO https://www.sqlite.org/2023/$SQLITE_VERSION.tar.gz && \
42+
RUN cd /tmp && SQLITE_VERSION=sqlite-autoconf-3460100 && \
43+
curl -LO https://www.sqlite.org/2024/$SQLITE_VERSION.tar.gz && \
4444
tar xf "$SQLITE_VERSION.tar.gz" && cd "$SQLITE_VERSION" && \
4545
CC=musl-gcc ./configure --enable-static --disable-shared --prefix=/usr/local/musl && \
4646
make install

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
IMAGE=fredrikfornwall/rust-static-builder
2-
STABLE_VERSION=1.72.1
2+
STABLE_VERSION=1.80.1
33
CURRENT_DATE:=$(shell date "+%Y-%m-%d")
44

55
build-stable:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ From inside your project directoring containing a `Cargo.toml` file:
1010

1111
```sh
1212
# Stable release channel:
13-
docker run -v "$PWD":/build fredrikfornwall/rust-static-builder:1.70.0
13+
docker run -v "$PWD":/build fredrikfornwall/rust-static-builder:1.80.1
1414

1515
# Nightly release channel:
16-
docker run -v "$PWD":/build fredrikfornwall/rust-static-builder-nightly:2020-05-09
16+
docker run -v "$PWD":/build fredrikfornwall/rust-static-builder-nightly:2024-09-04
1717
```
1818

1919
A statically linked binary will be created under `target/x86_64-unknown-linux-musl/release/`.
@@ -26,7 +26,7 @@ docker run \
2626
-v "$PWD":/build \
2727
-v $HOME/.cargo/git:/root/.cargo/git \
2828
-v $HOME/.cargo/registry:/root/.cargo/registry \
29-
fredrikfornwall/rust-static-builder:1.70.0
29+
fredrikfornwall/rust-static-builder:1.80.1
3030
```
3131

3232
## Testing
@@ -38,7 +38,7 @@ docker run \
3838
-v $HOME/.cargo/git:/root/.cargo/git \
3939
-v $HOME/.cargo/registry:/root/.cargo/registry \
4040
--entrypoint cargo \
41-
fredrikfornwall/rust-static-builder:1.70.0 \
41+
fredrikfornwall/rust-static-builder:1.80.1 \
4242
test --target x86_64-unknown-linux-musl
4343
```
4444

@@ -49,7 +49,7 @@ By default the built binary will be stripped. Run with `-e NOSTRIP=1`, as in
4949
docker run \
5050
-e NOSTRIP=1 \
5151
-v "$PWD":/build \
52-
fredrikfornwall/rust-static-builder:1.70.0
52+
fredrikfornwall/rust-static-builder:1.80.1
5353
```
5454

5555
to disable stripping.

0 commit comments

Comments
 (0)