From 94e6b60f58992c059529c75defad8abb3225bcf8 Mon Sep 17 00:00:00 2001 From: zakuro Date: Thu, 28 Sep 2023 06:42:27 +0900 Subject: [PATCH] docker: add Dockefile --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ac9b789 --- /dev/null +++ b/Dockerfile @@ -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