mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
docker: Accept TASK_VERSION argument
This commit is contained in:
parent
d7fd4177a6
commit
a331fd0f3b
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
FROM fedora:27
|
||||
ARG TASK_VERSION
|
||||
|
||||
RUN dnf update -y
|
||||
RUN dnf install procps-ng psmisc which vim curl git gvim gcc gcc-c++ cmake make gnutls-devel libuuid-devel mnemosyne -y
|
||||
|
@ -11,7 +12,7 @@ ENV LANGUAGE en_US.UTF-8
|
|||
# Setup taskwarrior
|
||||
RUN git clone --recursive https://github.com/GothenburgBitFactory/taskwarrior.git task
|
||||
WORKDIR task
|
||||
RUN echo $TASK_VERSION; git checkout $TASK_VERSION
|
||||
RUN echo ${TASK_VERSION}; git checkout ${TASK_VERSION}
|
||||
RUN git clean -dfx
|
||||
RUN git submodule init
|
||||
RUN git submodule update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue