15 lines
492 B
Docker
Raw Normal View History

2019-04-09 08:14:54 +09:00
# Install development environment
2019-04-14 16:28:30 +09:00
FROM blitzprog/aero
2019-04-14 19:04:08 +09:00
# Download database
RUN git clone --progress --depth=1 https://github.com/animenotifier/database ~/.aero/db/arn
# Download notify.moe dependencies
WORKDIR /home/developer
2019-04-14 19:04:08 +09:00
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 && \
go mod download && \
rm go.*
# Create empty working directory
2019-04-18 19:29:33 +09:00
WORKDIR /my