forked from vieter-v/vieter
Added Dockerfile & custom compiler notice
parent
b75e492658
commit
aa9602a065
|
@ -1,3 +1,4 @@
|
||||||
*
|
*
|
||||||
|
|
||||||
!vieter/
|
!vieter/
|
||||||
|
!Makefile
|
||||||
|
|
11
Dockerfile
11
Dockerfile
|
@ -1,12 +1,17 @@
|
||||||
FROM thevlang/vlang:alpine-dev AS builder
|
FROM archlinux:latest AS builder
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY vieter ./vieter
|
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
|
ENV REPO_DIR=/data
|
||||||
|
|
||||||
|
|
|
@ -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
|
having to exert too much mental effort & V seemed like the right choice for
|
||||||
that.
|
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
|
## Features
|
||||||
|
|
||||||
The project will consist of a server-agent model, where one or more builder
|
The project will consist of a server-agent model, where one or more builder
|
||||||
|
|
Loading…
Reference in New Issue