Updated dockerfile
This commit is contained in:
parent
85b7454d3e
commit
904b8fc943
12
.drone.yml
12
.drone.yml
@ -2,18 +2,6 @@ kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: clearcache1
|
||||
image: blitzprog/archlinux:latest
|
||||
pull: always
|
||||
commands:
|
||||
- echo "Hello"
|
||||
|
||||
- name: clearcache2
|
||||
image: blitzprog/aero:latest
|
||||
pull: always
|
||||
commands:
|
||||
- echo "World"
|
||||
|
||||
- name: test
|
||||
image: animenotifier/notify.moe:latest
|
||||
pull: always
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user