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

pull/14/head
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,3 +1,4 @@
*
!vieter/
!Makefile

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

View File

@ -13,6 +13,13 @@ a while now. I wanted a fast language that I could code while relaxing, without
having to exert too much mental effort & V seemed like the right choice for
that.
### Custom Compiler
Currently, this program only works with a very slightly modified version of the
V standard library, and therefore the compiler. The code for this can be found
[here](https://github.com/ChewingBever/v). For CI purposes & ease of use, you
can also clone & build that repo locally by running `make customv`.
## Features
The project will consist of a server-agent model, where one or more builder