mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 22:33:24 +00:00
invalidate docker cache for git pull
This commit is contained in:
@@ -8,6 +8,7 @@ RUN mkdir -p /src/app/coriolis-data
|
||||
RUN apk add --update git
|
||||
|
||||
RUN npm i -g npm
|
||||
ADD https://api.github.com/repos/edcd/coriolis-data/git/refs/heads/master /tmp/version.json
|
||||
|
||||
# Set up coriolis-data
|
||||
WORKDIR /src/app/coriolis-data
|
||||
@@ -16,6 +17,8 @@ RUN git checkout ${BRANCH}
|
||||
RUN npm install --no-package-lock
|
||||
RUN npm start
|
||||
|
||||
|
||||
ADD https://api.github.com/repos/edcd/coriolis/git/refs/heads/master /tmp/version.json
|
||||
# Set up coriolis
|
||||
WORKDIR /src/app/coriolis
|
||||
RUN git clone https://github.com/EDCD/coriolis.git .
|
||||
|
||||
@@ -9,6 +9,7 @@ RUN apk add --update git
|
||||
|
||||
RUN npm i -g npm
|
||||
|
||||
ADD https://api.github.com/repos/edcd/coriolis-data/git/refs/heads/develop /tmp/version.json
|
||||
# Set up coriolis-data
|
||||
WORKDIR /src/app/coriolis-data
|
||||
RUN git clone https://github.com/EDCD/coriolis-data.git .
|
||||
@@ -16,6 +17,8 @@ RUN git checkout ${BRANCH}
|
||||
RUN npm install --no-package-lock
|
||||
RUN npm start
|
||||
|
||||
|
||||
ADD https://api.github.com/repos/edcd/coriolis/git/refs/heads/develop /tmp/version.json
|
||||
# Set up coriolis
|
||||
WORKDIR /src/app/coriolis
|
||||
RUN git clone https://github.com/EDCD/coriolis.git .
|
||||
|
||||
Reference in New Issue
Block a user