This repository has been archived on 2026-01-06. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
vieter/Dockerfile
Jef Roosens aa9602a065
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Added Dockerfile & custom compiler notice
2022-01-10 08:33:21 +01:00

20 lines
356 B
Docker

FROM archlinux:latest AS builder
WORKDIR /src
COPY vieter ./vieter
COPY Makefile ./
RUN pacman \
-Syu --noconfirm --needed \
gcc git openssl make && \
make customv && \
jjr-v/v -prod vieter
FROM archlinux:latest
ENV REPO_DIR=/data
COPY --from=builder /src/vieter/vieter /usr/local/bin/
ENTRYPOINT [ "/usr/local/bin/vieter" ]