15 lines
497 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
2019-04-28 15:49:39 +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 && \
cd ~/ && \
2019-04-14 10:04:08 +00:00
go mod download && \
2019-04-28 15:49:39 +00:00
rm ~/go.mod ~/go.sum
2019-04-14 10:04:08 +00:00
# Create empty working directory
2019-04-18 10:29:33 +00:00
WORKDIR /my