forked from vieter-v/vieter
Possible fix
parent
4c42838c93
commit
3414f32718
|
@ -6,8 +6,6 @@ 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
|
ENV VFLAGS -cc gcc
|
||||||
|
|
||||||
RUN echo "$TARGETPLATFORM" && exit 1
|
|
||||||
|
|
||||||
RUN mkdir -p /opt/vlang && \
|
RUN mkdir -p /opt/vlang && \
|
||||||
ln -s /opt/vlang/v /usr/bin/v && \
|
ln -s /opt/vlang/v /usr/bin/v && \
|
||||||
apk --no-cache add \
|
apk --no-cache add \
|
||||||
|
@ -18,10 +16,13 @@ RUN mkdir -p /opt/vlang && \
|
||||||
sqlite-static sqlite-dev \
|
sqlite-static sqlite-dev \
|
||||||
libx11-dev glfw-dev freetype-dev \
|
libx11-dev glfw-dev freetype-dev \
|
||||||
libarchive-static libarchive-dev \
|
libarchive-static libarchive-dev \
|
||||||
diffutils && \
|
diffutils
|
||||||
# yes yes I know this is amd64, it's okay
|
|
||||||
|
RUN if [ "$TARGETPLATFORM" = 'linux/amd64' ]; then \
|
||||||
wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc && \
|
wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc && \
|
||||||
chmod +x /usr/local/bin/mc
|
chmod +x /usr/local/bin/mc ; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
COPY . /vlang-local
|
COPY . /vlang-local
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue