Update docker stuff

This commit is contained in:
Tobias Reisinger 2026-09-03 12:51:30 +02:00
commit ff7f20f12c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 10 additions and 6 deletions

View file

@ -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