Skip to content

Commit

Permalink
CI用のDockerfileを作成
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Nov 27, 2019
1 parent e76b885 commit 4e833c9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
12 changes: 12 additions & 0 deletions build/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu:18.04

RUN apt-get update -yqq \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
build-essential \
;

ENV PATH $HOME/.nimble/bin:$PATH
RUN curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
RUN sh init.sh -y
7 changes: 7 additions & 0 deletions docker-compose-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: '3.7'

services:
app:
build:
context: .
dockerfile: ./build/api/Dockerfile
1 change: 0 additions & 1 deletion dockerfiles/api/Dockerfile

This file was deleted.

0 comments on commit 4e833c9

Please sign in to comment.