mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
Dockerfile
This commit is contained in:
parent
981185e42f
commit
2c31469ec2
2 changed files with 24 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
#same container that golang use
|
||||
FROM buildpack-deps:buster-curl
|
||||
|
||||
LABEL maintainer="ANAGO Ronnel <anagoandy@gmail.com>"
|
||||
WORKDIR /etc/vlang
|
||||
COPY . .
|
||||
RUN apt-get -yq update && \
|
||||
apt-get install -y gcc clang make && \
|
||||
make && \
|
||||
ln -s /etc/vlang/v /usr/local/bin/v
|
||||
|
||||
CMD [ "bash" ]
|
Loading…
Add table
Add a link
Reference in a new issue