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