oops forgor the important flags
All checks were successful
Build and Test / account (push) Successful in 5m52s
All checks were successful
Build and Test / account (push) Successful in 5m52s
This commit is contained in:
parent
ff635f49da
commit
f3f2462112
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ WORKDIR /app
|
|||
COPY Cargo.toml Cargo.lock ./
|
||||
COPY mii ./mii
|
||||
RUN mkdir src && echo "fn main() {println!(\"dummy\");}" > src/main.rs
|
||||
RUN OPENSSL_STATIC=1 cargo build --target x86_64-unknown-linux-musl --profile prod
|
||||
RUN OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include/openssl OPENSSL_STATIC=1 RUSTFLAGS="-C target-feature=+aes,+sse -C relocation-model=static -C linker=ld.lld" cargo build --target x86_64-unknown-linux-musl --profile prod
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue