mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-25 17:50:13 +01:00
Docker fixes
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
65cc7ebc76
commit
cb4f0f5aa7
@ -17,7 +17,7 @@ ENV DEBIAN_FRONTEND="noninteractive" \
|
|||||||
SPHINX_BIN_TARGZ="sphinx-3.1.1-bin.tar.gz"
|
SPHINX_BIN_TARGZ="sphinx-3.1.1-bin.tar.gz"
|
||||||
|
|
||||||
ADD "https://bitbucket.org/jsuto/piler/downloads/${PACKAGE}" "/${PACKAGE}"
|
ADD "https://bitbucket.org/jsuto/piler/downloads/${PACKAGE}" "/${PACKAGE}"
|
||||||
ADD files/start.sh /start.sh
|
ADD start.sh /start.sh
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get -y --no-install-recommends install \
|
apt-get -y --no-install-recommends install \
|
||||||
|
12
docker/README
Normal file
12
docker/README
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
How to build
|
||||||
|
|
||||||
|
Pick the latest deb package from Bitbucket download page (https://bitbucket.org/jsuto/piler/downloads/)
|
||||||
|
and use it as the PACKAGE build argument, eg.
|
||||||
|
|
||||||
|
docker build --build-arg PACKAGE=piler_1.3.6~bionic-65cc7eb_amd64.deb -t sutoj/piler .
|
||||||
|
|
||||||
|
How to run the image
|
||||||
|
|
||||||
|
Set the PILER_HOST env variable to match your hostname, eg.
|
||||||
|
|
||||||
|
docker run -d --name piler1 -p 25:25 -p 80:80 -e PILER_HOST=archive.yourdomain.com sutoj/piler
|
Loading…
Reference in New Issue
Block a user