Updated dockerfile

This commit is contained in:
Eduard Urbach 2019-04-29 00:49:39 +09:00
parent 85b7454d3e
commit 904b8fc943
2 changed files with 4 additions and 16 deletions

View File

@ -2,18 +2,6 @@ kind: pipeline
name: default
steps:
- name: clearcache1
image: blitzprog/archlinux:latest
pull: always
commands:
- echo "Hello"
- name: clearcache2
image: blitzprog/aero:latest
pull: always
commands:
- echo "World"
- name: test
image: animenotifier/notify.moe:latest
pull: always

View File

@ -5,11 +5,11 @@ FROM blitzprog/aero
RUN git clone --progress --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
# Download notify.moe dependencies
WORKDIR /home/developer
RUN curl -s -o go.mod https://raw.githubusercontent.com/animenotifier/notify.moe/go/go.mod && \
curl -s -o go.sum https://raw.githubusercontent.com/animenotifier/notify.moe/go/go.sum && \
RUN curl -s -o ~/go.mod https://raw.githubusercontent.com/animenotifier/notify.moe/go/go.mod && \
curl -s -o ~/go.sum https://raw.githubusercontent.com/animenotifier/notify.moe/go/go.sum && \
cd ~/ && \
go mod download && \
rm go.*
rm ~/go.mod ~/go.sum
# Create empty working directory
WORKDIR /my