forked from gorb/backend
This commit is contained in:
parent
193832b43a
commit
6910afd12a
2 changed files with 9 additions and 16 deletions
|
@ -3,13 +3,13 @@ FROM --platform=linux/amd64 debian:12-slim AS prep
|
|||
WORKDIR /src
|
||||
|
||||
COPY target/release/backend backend-amd64
|
||||
COPY target/aarch64-unknown-linux-musl/release/backend backend-arm64
|
||||
COPY target/aarch64-unknown-linux-gnu/release/backend backend-arm64
|
||||
|
||||
FROM debian:12-slim
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
RUN apt update -y && apt install ca-certificates -y && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/*
|
||||
RUN apt update -y && apt install libssl3 ca-certificates -y && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/*
|
||||
|
||||
COPY --from=prep /src/backend-${TARGETARCH} /usr/bin/gorb-backend
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue