2022-01-10 08:33:21 +01:00
|
|
|
FROM archlinux:latest AS builder
|
2022-01-09 09:29:11 +01:00
|
|
|
|
|
|
|
WORKDIR /src
|
|
|
|
COPY vieter ./vieter
|
2022-01-10 08:33:21 +01:00
|
|
|
COPY Makefile ./
|
2022-01-09 09:29:11 +01:00
|
|
|
|
2022-01-10 08:33:21 +01:00
|
|
|
RUN pacman \
|
|
|
|
-Syu --noconfirm --needed \
|
|
|
|
gcc git openssl make && \
|
|
|
|
make customv && \
|
|
|
|
jjr-v/v -prod vieter
|
2022-01-09 09:29:11 +01:00
|
|
|
|
|
|
|
|
2022-01-10 08:33:21 +01:00
|
|
|
FROM archlinux:latest
|
2022-01-09 09:29:11 +01:00
|
|
|
|
|
|
|
ENV REPO_DIR=/data
|
|
|
|
|
|
|
|
COPY --from=builder /src/vieter/vieter /usr/local/bin/
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/local/bin/vieter" ]
|