Merge pull request #588 from alyssadev/patch-dockerfix
Fixed Dockerfile for changes in goreman release file
This commit is contained in:
commit
c2d6a09b6c
|
@ -5,7 +5,7 @@ RUN groupadd -r dummy && useradd -r -g dummy dummy -u 1000
|
|||
|
||||
# webui + aria2
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y aria2 busybox curl unzip \
|
||||
&& apt-get install -y aria2 busybox curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ADD ./docs /webui-aria2
|
||||
|
@ -19,8 +19,8 @@ RUN GITHUB_REPO="https://github.com/tianon/gosu" \
|
|||
# goreman supervisor install latest
|
||||
RUN GITHUB_REPO="https://github.com/mattn/goreman" \
|
||||
&& LATEST=`curl -s $GITHUB_REPO"/releases/latest" | grep -Eo "v[0-9]*.[0-9]*.[0-9]*"` \
|
||||
&& curl -L $GITHUB_REPO"/releases/download/"$LATEST"/goreman_linux_amd64.zip" > goreman.zip \
|
||||
&& unzip goreman.zip && mv /goreman /usr/local/bin/goreman && rm -R goreman*
|
||||
&& curl -L $GITHUB_REPO"/releases/download/"$LATEST"/goreman_"$LATEST"_linux_amd64.tar.gz" > goreman.tar.gz \
|
||||
&& tar xvf goreman.tar.gz && mv /goreman*/goreman /usr/local/bin/goreman && rm -R goreman*
|
||||
|
||||
# goreman setup
|
||||
RUN echo "web: gosu dummy /bin/busybox httpd -f -p 8080 -h /webui-aria2\nbackend: gosu dummy /usr/bin/aria2c --enable-rpc --rpc-listen-all --dir=/data" > Procfile
|
||||
|
|
Loading…
Reference in New Issue
Block a user