mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +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 \
|
||||
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
|
||||
#!/bin/sh
|
||||
@ -71,9 +71,7 @@ apk add --no-cache \
|
||||
# Now we install the (Alpine $DIST) compiled pdf2htmlEX binaries and
|
||||
# configuration files.
|
||||
#
|
||||
cd /
|
||||
#
|
||||
tar xvf $ALPINE_NAME.tar.gz --strip-comonents=1
|
||||
tar xvf $ALPINE_NAME.tar.gz -C /
|
||||
|
||||
ALPINE_INSTALL
|
||||
|
||||
|
@ -55,8 +55,10 @@ FROM $DOCKER_FROM
|
||||
|
||||
COPY ./$ALPINE_NAME.* /root/
|
||||
|
||||
RUN chmod a+x /root/$ALPINE_NAME.install && \
|
||||
/root/$ALPINE_NAME.install
|
||||
WORKDIR /root
|
||||
|
||||
RUN chmod a+x $ALPINE_NAME.install && \
|
||||
./$ALPINE_NAME.install
|
||||
|
||||
ENTRYPOINT ["$PDF2HTMLEX_PREFIX/bin/pdf2htmlEX"]
|
||||
DOCKERFILE_HERE_DOC
|
||||
|
@ -16,6 +16,7 @@ set -ev
|
||||
sudo apk update
|
||||
sudo apk add \
|
||||
sudo \
|
||||
tar \
|
||||
wget \
|
||||
git \
|
||||
pkgconfig \
|
||||
|
Loading…
Reference in New Issue
Block a user