From 904b8fc9432b3317080314743b62481e337ac385 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 29 Apr 2019 00:49:39 +0900 Subject: [PATCH] Updated dockerfile --- .drone.yml | 12 ------------ docker/development.Dockerfile | 8 ++++---- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2ea1a1c2..6a48d721 100644 --- a/.drone.yml +++ b/.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 diff --git a/docker/development.Dockerfile b/docker/development.Dockerfile index 65b77a77..360c2c5f 100644 --- a/docker/development.Dockerfile +++ b/docker/development.Dockerfile @@ -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 \ No newline at end of file