2020-12-23 19:11:25 +01:00
|
|
|
FROM alpine:3.12
|
2019-11-28 09:46:52 +01:00
|
|
|
|
|
|
|
LABEL maintainer="spytheman <spytheman@bulsynt.org>"
|
|
|
|
|
|
|
|
WORKDIR /opt/vlang
|
|
|
|
|
|
|
|
ENV VVV /opt/vlang
|
|
|
|
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
2021-01-06 20:14:32 +01:00
|
|
|
ENV VFLAGS -cc gcc
|
2019-11-28 09:46:52 +01:00
|
|
|
|
|
|
|
RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
|
|
|
|
|
|
|
|
RUN apk --no-cache add \
|
2021-01-06 20:14:32 +01:00
|
|
|
git make upx gcc bash \
|
2019-11-28 09:46:52 +01:00
|
|
|
musl-dev \
|
|
|
|
openssl-dev sqlite-dev \
|
|
|
|
libx11-dev glfw-dev freetype-dev
|
|
|
|
|
2020-07-28 18:17:44 +02:00
|
|
|
## RUN apk --no-cache add --virtual sdl2deps sdl2-dev sdl2_ttf-dev sdl2_mixer-dev sdl2_image-dev
|
2019-12-08 21:30:38 +01:00
|
|
|
|
2020-03-06 18:53:29 +01:00
|
|
|
RUN git clone https://github.com/vlang/v /opt/vlang && make && v -version
|