1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/Dockerfile.alpine
lospejos 7e8add24dd
docker: upgrade Alpine Linux version to 3.12 (#7494)
Upgraded Alpine Linux version to 3.12
2020-12-23 19:11:25 +01:00

21 lines
546 B
Docker

FROM alpine:3.12
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
RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
RUN apk --no-cache add \
git make upx gcc \
musl-dev \
openssl-dev sqlite-dev \
libx11-dev glfw-dev freetype-dev
## RUN apk --no-cache add --virtual sdl2deps sdl2-dev sdl2_ttf-dev sdl2_mixer-dev sdl2_image-dev
RUN git clone https://github.com/vlang/v /opt/vlang && make && v -version