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

pull/7929/head
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
1 changed files with 2 additions and 1 deletions

View File

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