0.1.0-rc.1 #60

Merged
Jef Roosens merged 124 commits from dev into main 2022-01-31 23:53:46 +01:00
Showing only changes of commit 3414f32718 - Show all commits

View file

@ -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
wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc && \ RUN if [ "$TARGETPLATFORM" = 'linux/amd64' ]; then \
chmod +x /usr/local/bin/mc wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc && \
chmod +x /usr/local/bin/mc ; \
fi
COPY . /vlang-local COPY . /vlang-local