Added Dockerfile & custom compiler notice
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Jef Roosens 2022-01-10 08:33:21 +01:00
parent b75e492658
commit aa9602a065
Signed by: Jef Roosens
GPG key ID: 955C0660072F691F
3 changed files with 16 additions and 3 deletions

View file

@ -1,12 +1,17 @@
FROM thevlang/vlang:alpine-dev AS builder
FROM archlinux:latest AS builder
WORKDIR /src
COPY vieter ./vieter
COPY Makefile ./
RUN v -prod vieter
RUN pacman \
-Syu --noconfirm --needed \
gcc git openssl make && \
make customv && \
jjr-v/v -prod vieter
FROM alpine:3.15.0
FROM archlinux:latest
ENV REPO_DIR=/data