From 241b7e7673c56ff09c0262900cd677c4e42bcbbe Mon Sep 17 00:00:00 2001 From: up9cloud <8325632+up9cloud@users.noreply.github.com> Date: Fri, 19 Mar 2021 11:35:48 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9Efix:=20fix=20v=20binary=20soft=20li?= =?UTF-8?q?nk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 8 +------- README.md | 8 ++++++-- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 517f910..73486fc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,17 +20,11 @@ RUN set -ex; \ WORKDIR /opt RUN set -ex; \ - # We need source, otherwise some test cases won't pass (module "compiler" (not found), failed to open file "/opt/vlang/vlib/v/gen/tests/1.vv") - wget -O src.zip "$VLANG_SRC_URL"; \ - echo "$VLANG_SRC_SHA256 src.zip" | sha256sum -c; \ - unzip src.zip; \ - mv v-${VLANG_VERSION} vlang; \ - rm src.zip; \ wget -O v.zip "$VLANG_URL"; \ echo "$VLANG_SHA256 v.zip" | sha256sum -c; \ unzip -o v.zip -d vlang; \ rm v.zip; \ - ln -s /opt/vlang/v /usr/local/bin/v; \ + ln -s /opt/vlang/v/v /usr/local/bin/v; \ v test-self WORKDIR /root diff --git a/README.md b/README.md index 926f3d4..9f5d964 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # docker-vlang -Build from official release, and make sure pass `v test-compiler` all test cases. +Build from official release. -If you wanted to make it from latest source, you could consider [taojy123/vlang](https://hub.docker.com/r/taojy123/vlang/dockerfile) or build it from [official Dockerfile](https://github.com/vlang/v/blob/master/Dockerfile) +If you want to build it from latest source, you could consider [official Dockerfile](https://github.com/vlang/v/blob/master/Dockerfile) ## Usage @@ -13,3 +13,7 @@ V 0.1.24 0d93eeb Use Ctrl-C or `exit` to exit >>> ``` + +## Similar images + +- [taojy123/vlang](https://hub.docker.com/r/taojy123/vlang/dockerfile)