Compare commits

..

No commits in common. "98faade91fc8aaebe61d89b22386c6b8408be63f" and "3b5f1e9cf7e59429163e879c001c12dfb3fcf3ce" have entirely different histories.

3 changed files with 5 additions and 4 deletions

View File

@ -3,7 +3,7 @@ all: debug
# Builds
debug:
@ ./build -m dev -a run build
@ ./build -m dev
.PHONY: debug
release:

View File

@ -1,9 +1,7 @@
# Our entire toolchain runs in alpine
# We use a multi-stage build to end up with a very small final image
FROM alpine:latest AS builder
ENV PATH "$PATH:/root/.cargo/bin"
# Needed for proper compiling of openssl-dev
ENV RUSTFLAGS "-C target-feature=-crt-static"
WORKDIR /usr/src/app

View File

@ -1,5 +1,8 @@
FROM chewingbever/fej-builder:latest AS builder
# Needed for proper compiling of openssl-dev
ENV RUSTFLAGS="-C target-feature=-crt-static"
# And then finally, build the project
# Thank the lords that this article exists
# https://users.rust-lang.org/t/sigsegv-with-program-linked-against-openssl-in-an-alpine-container/52172