Merge branch 'dev' into repo-add
commit
bdf0c2ee7c
|
@ -0,0 +1,13 @@
|
|||
branches: dev
|
||||
|
||||
pipeline:
|
||||
publish:
|
||||
image: plugins/docker
|
||||
secrets: [ docker_username, docker_password ]
|
||||
settings:
|
||||
repo: chewingbever/vlang
|
||||
tag: latest
|
||||
dockerfile: Dockerfile.builder
|
||||
when:
|
||||
event: push
|
||||
path: Dockerfile.builder
|
|
@ -0,0 +1,32 @@
|
|||
FROM alpine:3.12
|
||||
|
||||
LABEL maintainer="spytheman <spytheman@bulsynt.org>"
|
||||
|
||||
WORKDIR /opt/vlang
|
||||
|
||||
ENV VVV /opt/vlang
|
||||
ENV PATH /opt/vlang:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
ENV VFLAGS -cc gcc
|
||||
|
||||
RUN mkdir -p /opt/vlang && ln -s /opt/vlang/v /usr/bin/v
|
||||
|
||||
RUN apk --no-cache add \
|
||||
git make upx gcc bash \
|
||||
musl-dev \
|
||||
openssl-libs-static openssl-dev \
|
||||
sqlite-static sqlite-dev \
|
||||
libx11-dev glfw-dev freetype-dev \
|
||||
libarchive-static libarchive-dev \
|
||||
diffutils
|
||||
|
||||
COPY . /vlang-local
|
||||
|
||||
RUN git clone \
|
||||
'https://github.com/ChewingBever/v/' \
|
||||
-b vweb-streaming \
|
||||
--single-branch \
|
||||
'/opt/vlang' && \
|
||||
rm -rf '/vlang-local' && \
|
||||
make && v -version
|
||||
|
||||
CMD ["v"]
|
Loading…
Reference in New Issue