Updated dockerfile

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

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