Skip to content

Commit

Permalink
docker: add Dockefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuro9715 committed Sep 27, 2023
1 parent 8149717 commit 94e6b60
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM buildpack-deps:stable

RUN apt-get update \
&& apt-get install -yqq --no-install-recommends \
clang \
libgc-dev \
&& rm -rf /var/lib/apt/lists/*

ENV VFlAGS="-cc clang"
RUN mkdir -p /opt && cd /opt \
&& git clone https://github.com/vlang/v \
&& cd v \
&& make \
&& ./v symlink

COPY . /kaico
WORKDIR /kaico

0 comments on commit 94e6b60

Please sign in to comment.