Skip to content

Commit

Permalink
Updated libraries
Browse files Browse the repository at this point in the history
- Update OpenSSL to v3.0.13
- Update cURL to v8.6.0
- Update SQLite to v3.45.1
  • Loading branch information
BlackDex committed Feb 1, 2024
1 parent 0950360 commit bc567fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Dockerfile.musl-base
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ ENV TARGET="${TARGET}" \
RUST_MUSL_CROSS_TARGET="${TARGET}" \
SYSROOT="/usr/local/musl/${TARGET}" \
# Library versions
SSL_VER="3.0.12" \
CURL_VER="8.5.0" \
SSL_VER="3.0.13" \
CURL_VER="8.6.0" \
ZLIB_VER="1.3.1" \
PQ_11_VER="11.22" \
PQ_15_VER="15.5" \
SQLITE_VER="3450000" \
SQLITE_VER="3450100" \
MARIADB_VER="3.3.8"

WORKDIR /tmp
Expand Down Expand Up @@ -98,9 +98,9 @@ RUN echo "OpenSSL" && \
curl -sSL "https://www.openssl.org/source/openssl-${SSL_VER}.tar.gz" | tar xz && \
cd "openssl-${SSL_VER}" && \
# Download patches for openssl from Alpine to fix CVE's
curl -sSL --retry 3 -o CVE-2023-5678.patch https://git.alpinelinux.org/aports/plain/main/openssl/CVE-2023-5678.patch?h=23d17714028463345b828a18b551172bdddd4eb3 && \
# curl -sSL --retry 3 -o CVE-2023-5678.patch https://git.alpinelinux.org/aports/plain/main/openssl/CVE-2023-5678.patch?h=23d17714028463345b828a18b551172bdddd4eb3 && \
# Apply these patches
git apply --verbose CVE-2023-5678.patch && \
# git apply --verbose CVE-2023-5678.patch && \
PKG_CONFIG_PATH="${TARGET_PKG_CONFIG_PATH}" \
AR="${TARGET_AR}" \
LD="${TARGET_LD}" \
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Depending if the Rust version and if MUSL target is 32bit or 64bit it is using M
All versions of Rust v1.71.0 and above will all be build with MUSL v1.2.3 since all targets now support this version.

The following libraries are pre-build and marked as `STATIC` already via `ENV` variables so that the Rust Crates know there are static libraries available already.
* OpenSSL v3.0 (`v3.0.12`)
* cURL (`v8.5.0`)
* OpenSSL v3.0 (`v3.0.13`)
* cURL (`v8.6.0`)
* ZLib (`v1.3.1`)
* PostgreSQL lib (`v11.22`) and PostgreSQL lib (`v15.5`)
* SQLite (`v3.45.0`)
* SQLite (`v3.45.1`)
* MariaDB Connector/C (`v3.3.8`) (MySQL Compatible)


Expand Down

0 comments on commit bc567fe

Please sign in to comment.