mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 20:50:07 +00:00
corrected creation of alpine docker image
This commit is contained in:
parent
c40c9889d7
commit
be8034236b
@ -37,9 +37,9 @@ make install \
|
|||||||
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX \
|
datadir=$PDF2HTMLEX_PREFIX/share/pdf2htmlEX \
|
||||||
DESTDIR=../imageBuild/alpineTarDir
|
DESTDIR=../imageBuild/alpineTarDir
|
||||||
|
|
||||||
cd ../imageBuild
|
cd ../imageBuild/alpineTarDir
|
||||||
|
|
||||||
tar czvf $ALPINE_NAME.tar.gz alpineTarDir
|
tar czvf ../$ALPINE_NAME.tar.gz --owner=root --group=root *
|
||||||
|
|
||||||
cat <<ALPINE_INSTALL > $ALPINE_NAME.install
|
cat <<ALPINE_INSTALL > $ALPINE_NAME.install
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -71,9 +71,7 @@ apk add --no-cache \
|
|||||||
# Now we install the (Alpine $DIST) compiled pdf2htmlEX binaries and
|
# Now we install the (Alpine $DIST) compiled pdf2htmlEX binaries and
|
||||||
# configuration files.
|
# configuration files.
|
||||||
#
|
#
|
||||||
cd /
|
tar xvf $ALPINE_NAME.tar.gz -C /
|
||||||
#
|
|
||||||
tar xvf $ALPINE_NAME.tar.gz --strip-comonents=1
|
|
||||||
|
|
||||||
ALPINE_INSTALL
|
ALPINE_INSTALL
|
||||||
|
|
||||||
|
@ -55,8 +55,10 @@ FROM $DOCKER_FROM
|
|||||||
|
|
||||||
COPY ./$ALPINE_NAME.* /root/
|
COPY ./$ALPINE_NAME.* /root/
|
||||||
|
|
||||||
RUN chmod a+x /root/$ALPINE_NAME.install && \
|
WORKDIR /root
|
||||||
/root/$ALPINE_NAME.install
|
|
||||||
|
RUN chmod a+x $ALPINE_NAME.install && \
|
||||||
|
./$ALPINE_NAME.install
|
||||||
|
|
||||||
ENTRYPOINT ["$PDF2HTMLEX_PREFIX/bin/pdf2htmlEX"]
|
ENTRYPOINT ["$PDF2HTMLEX_PREFIX/bin/pdf2htmlEX"]
|
||||||
DOCKERFILE_HERE_DOC
|
DOCKERFILE_HERE_DOC
|
||||||
|
@ -16,6 +16,7 @@ set -ev
|
|||||||
sudo apk update
|
sudo apk update
|
||||||
sudo apk add \
|
sudo apk add \
|
||||||
sudo \
|
sudo \
|
||||||
|
tar \
|
||||||
wget \
|
wget \
|
||||||
git \
|
git \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
|
Loading…
Reference in New Issue
Block a user