vlang (sha256:1928e810b57fe76b5699990417387a35692dfdcacf8be4276c412d0e86fc152a)

Published 2023-02-15 20:44:20 +01:00 by Jef Roosens

Installation

docker pull git.rustybever.be/vieter-v/vlang@sha256:1928e810b57fe76b5699990417387a35692dfdcacf8be4276c412d0e86fc152a
sha256:1928e810b57fe76b5699990417387a35692dfdcacf8be4276c412d0e86fc152a

Image Layers

ADD file:40887ab7c06977737e63c215c9bd297c0c74de8d12d16ebdf1c3d40ac392f62d in /
CMD ["/bin/sh"]
ARG TARGETPLATFORM
ARG V_COMMIT_HASH=5d4c9dc9fc11bf8648541c934adb64f27cb94e37
ARG VC_COMMIT_HASH=7919b47d852650ca09e51a1f44cab0faa3a973eb
ENV VVV=/opt/vlang
ENV PATH=/opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV VFLAGS=-cc gcc -gc none
RUN |3 TARGETPLATFORM=linux/amd64 V_COMMIT_HASH=5d4c9dc9fc11bf8648541c934adb64f27cb94e37 VC_COMMIT_HASH=7919b47d852650ca09e51a1f44cab0faa3a973eb /bin/sh -c apk --no-cache add git make gcc curl musl-dev openssl openssl-libs-static openssl-dev sqlite-static sqlite-dev libarchive-static libarchive-dev zlib-static zlib-dev bzip2-static bzip2-dev xz-static xz-dev expat-static expat-dev zstd zstd-dev lz4-static lz4-dev diffutils mandoc unzip # buildkit
WORKDIR /opt
RUN |3 TARGETPLATFORM=linux/amd64 V_COMMIT_HASH=5d4c9dc9fc11bf8648541c934adb64f27cb94e37 VC_COMMIT_HASH=7919b47d852650ca09e51a1f44cab0faa3a973eb /bin/sh -c curl -Lo v.zip "https://github.com/vlang/v/archive/${V_COMMIT_HASH}.zip" && unzip v.zip && rm v.zip && mv "v-${V_COMMIT_HASH}" vlang # buildkit
WORKDIR /opt/vlang
RUN |3 TARGETPLATFORM=linux/amd64 V_COMMIT_HASH=5d4c9dc9fc11bf8648541c934adb64f27cb94e37 VC_COMMIT_HASH=7919b47d852650ca09e51a1f44cab0faa3a973eb /bin/sh -c curl -Lo vc.zip "https://github.com/vlang/vc/archive/${VC_COMMIT_HASH}.zip" && unzip vc.zip && rm vc.zip && mv "vc-${VC_COMMIT_HASH}" vc && make fresh_tcc && make local=1 prod=1 && ln -s /opt/vlang/v /usr/bin/v # buildkit
RUN |3 TARGETPLATFORM=linux/amd64 V_COMMIT_HASH=5d4c9dc9fc11bf8648541c934adb64f27cb94e37 VC_COMMIT_HASH=7919b47d852650ca09e51a1f44cab0faa3a973eb /bin/sh -c if [ "$TARGETPLATFORM" = 'linux/amd64' ]; then wget -O /usr/local/bin/mc https://dl.min.io/client/mc/release/linux-amd64/mc && chmod +x /usr/local/bin/mc ; fi # buildkit
CMD ["v"]
Details
Container
2023-02-15 20:44:20 +01:00
16094
OCI / Docker
linux/amd64
103 MiB
Versions (2) View all