1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

alpine: add bash to Dockerfile.alpine; also set VFLAGS="-cc gcc" in that environment

This commit is contained in:
Delyan Angelov 2021-01-06 21:14:32 +02:00
parent 30a2f125ef
commit 6f1416b5e3
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -6,11 +6,12 @@ WORKDIR /opt/vlang
ENV VVV /opt/vlang
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV VFLAGS -cc gcc
RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
RUN apk --no-cache add \
git make upx gcc \
git make upx gcc bash \
musl-dev \
openssl-dev sqlite-dev \
libx11-dev glfw-dev freetype-dev