15 lines
492 B
Docker
Raw Normal View History

2019-04-08 23:14:54 +00:00
# Install development environment
2019-04-14 07:28:30 +00:00
FROM blitzprog/aero
2019-04-14 10:04:08 +00: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 10:04:08 +00: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 10:29:33 +00:00
WORKDIR /my