mirror of
https://github.com/w0rng/amnezia-wg-easy.git
synced 2025-04-25 21:00:21 +03:00
Dockerfile: use alpine-base image and install required build packages
This commit is contained in:
parent
8bfcb5d502
commit
cc5d45b833
1 changed files with 4 additions and 1 deletions
|
@ -1,10 +1,13 @@
|
|||
# Build wg-password binary using Rust on Alpine
|
||||
FROM docker.io/library/rust:1.79.0-alpine AS build_password_binary
|
||||
FROM docker.io/library/alpine AS build_password_binary
|
||||
|
||||
WORKDIR /wg-password
|
||||
COPY wg-password .
|
||||
|
||||
# Build the Rust project
|
||||
RUN apk add --no-cache \
|
||||
rust \
|
||||
cargo
|
||||
RUN cargo build --release
|
||||
|
||||
# As a workaround we have to build on nodejs 18
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue