Update docker stuff
This commit is contained in:
parent
21c245dcf8
commit
ff7f20f12c
4 changed files with 10 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM rust:1 as builder
|
||||
FROM rust:1 AS builder
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-musl && \
|
||||
apt update && \
|
||||
|
|
@ -7,11 +7,11 @@ RUN rustup target add x86_64-unknown-linux-musl && \
|
|||
|
||||
COPY ./ /emgauwa
|
||||
|
||||
FROM builder as builder-core
|
||||
FROM builder AS builder-core
|
||||
WORKDIR /emgauwa/core
|
||||
RUN cargo build --target x86_64-unknown-linux-musl --release
|
||||
|
||||
FROM builder as builder-controller
|
||||
FROM builder AS builder-controller
|
||||
WORKDIR /emgauwa/controller
|
||||
RUN cargo build --target x86_64-unknown-linux-musl --release
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue