v
5950 commits 2 issues 0 pull requests 296 contributors 3 branches 0 releases
1FROM alpine:3.11
2
3LABEL maintainer="spytheman <[email protected]>"
4
5WORKDIR /opt/vlang
6
7ENV VVV /opt/vlang
8ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9
10RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
11
12RUN apk --no-cache add \
13 git make upx gcc \
14 musl-dev \
15 openssl-dev sqlite-dev \
16 libx11-dev glfw-dev freetype-dev
17
18RUN apk --no-cache add --virtual sdl2deps sdl2-dev sdl2_ttf-dev sdl2_mixer-dev sdl2_image-dev
19
20RUN git clone https://github.com/vlang/v /opt/vlang && make && v -version