forked from spacebar/rust-nex
drop musl support
it was a hard 3 minutes of thinking but i realized we run containers anyways so??? it was kinda useless
This commit is contained in:
parent
bfc1482328
commit
f04e85d496
4 changed files with 8 additions and 5 deletions
|
|
@ -9,7 +9,7 @@ export SHORT_SHA=${GITHUB_SHA::6}
|
|||
export CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA:-$SHORT_SHA}
|
||||
|
||||
echo "building $EDITION"
|
||||
export TARGET_DIR="target/x86_64-unknown-linux-musl/release"
|
||||
export TARGET_DIR="target/release"
|
||||
|
||||
./test-edition.sh
|
||||
./build-edition.sh
|
||||
|
|
|
|||
|
|
@ -1,6 +1,9 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM alpine:3.20 AS base
|
||||
RUN apk add --no-cache ca-certificates libssl3
|
||||
FROM debian:bookworm-slim AS base
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
libssl3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
FROM base AS node-holder
|
||||
COPY dist/rnex-server-backend-node-holder /rnex-server-backend-node-holder
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ source ./buildscripts/common.sh
|
|||
echo "Building $EDITION"
|
||||
echo "FEATURES: $EDITION_FEATURES"
|
||||
|
||||
PKG_CONFIG_ALLOW_CROSS=1 OPENSSL_INCLUDE_DIR="/usr/include -I/usr/include/x86_64-linux-gnu" OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu cargo build --release --features "$EDITION_FEATURES" --target x86_64-unknown-linux-musl
|
||||
cargo build --release --features "$EDITION_FEATURES"
|
||||
|
|
@ -11,4 +11,4 @@ source ./buildscripts/common.sh
|
|||
echo FEATURES:
|
||||
echo $EDITION_FEATURES
|
||||
|
||||
PKG_CONFIG_ALLOW_CROSS=1 OPENSSL_INCLUDE_DIR="/usr/include -I/usr/include/x86_64-linux-gnu" OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu cargo build --release --features "$EDITION_FEATURES" --target x86_64-unknown-linux-musl
|
||||
cargo build --release --features "$EDITION_FEATURES"
|
||||
|
|
|
|||
Loading…
Reference in a new issue