enable alpine/musl CI tests

This commit is contained in:
Delyan Angelov 2019-11-28 10:46:52 +02:00 committed by Alexander Medvednikov
parent 3b7466a13d
commit 7545ea709a
13 changed files with 137 additions and 65 deletions

18
Dockerfile.alpine Normal file
View file

@ -0,0 +1,18 @@
FROM alpine:3.10
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 git clone https://github.com/vlang/v /opt/vlang && make && v --version