v
1#same container that golang use
2FROM buildpack-deps:buster-curl
3
4LABEL maintainer="ANAGO Ronnel <[email protected]>"
5WORKDIR /opt/vlang
6RUN apt-get update && \
7 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends gcc clang make git && \
8 apt-get clean && rm -rf /var/cache/apt/archives/* && \
9 rm -rf /var/lib/apt/lists/*
10COPY . .
11RUN make && \
12 ln -s /opt/vlang/v /usr/local/bin/v
13
14CMD [ "bash" ]