mirror of
https://github.com/optim-enterprises-bv/openlan-cgw.git
synced 2025-10-29 17:32:21 +00:00
Revert "Build: enable temporarily debug-only build by default"
This reverts commit b14b5ed887.
Signed-off-by: Oleksandr Mazur <oleksandr.mazur@plvision.eu>
This commit is contained in:
@@ -32,8 +32,8 @@ RUN --mount=type=bind,source=src,target=src \
|
||||
--mount=type=cache,target=/usr/src/openlan-cgw/target \
|
||||
--mount=type=cache,target=/usr/local/cargo/git/db \
|
||||
--mount=type=cache,target=/usr/local/cargo/registry \
|
||||
RUSTFLAGS="-g -C symbol-mangling-version=v0" cargo build --target x86_64-unknown-linux-gnu && \
|
||||
cp target/x86_64-unknown-linux-gnu/debug/ucentral-cgw /usr/local/bin
|
||||
cargo build --target x86_64-unknown-linux-gnu --release && \
|
||||
cp target/x86_64-unknown-linux-gnu/release/ucentral-cgw /usr/local/bin
|
||||
|
||||
CMD ["echo", "CGW build finished successfully!"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user