mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Dockerfile: run the repl by default (#8993)
This commit is contained in:
parent
1fd0aceb42
commit
0b3f209965
@ -11,4 +11,4 @@ COPY . .
|
||||
RUN make && \
|
||||
ln -s /opt/vlang/v /usr/local/bin/v
|
||||
|
||||
CMD [ "bash" ]
|
||||
CMD [ "v" ]
|
||||
|
@ -19,3 +19,5 @@ RUN apk --no-cache add \
|
||||
## RUN apk --no-cache add --virtual sdl2deps sdl2-dev sdl2_ttf-dev sdl2_mixer-dev sdl2_image-dev
|
||||
|
||||
RUN git clone https://github.com/vlang/v /opt/vlang && make && v -version
|
||||
|
||||
CMD ["v"]
|
||||
|
@ -137,7 +137,6 @@ git clone https://github.com/vlang/v
|
||||
cd v
|
||||
docker build -t vlang .
|
||||
docker run --rm -it vlang:latest
|
||||
v
|
||||
```
|
||||
|
||||
### Docker with Alpine/musl
|
||||
@ -147,7 +146,6 @@ git clone https://github.com/vlang/v
|
||||
cd v
|
||||
docker build -t vlang --file=Dockerfile.alpine .
|
||||
docker run --rm -it vlang:latest
|
||||
/usr/local/v/v
|
||||
```
|
||||
|
||||
</details>
|
||||
|
Loading…
Reference in New Issue
Block a user