corrected alpine image creation

This commit is contained in:
Stephen Gaito 2020-06-21 14:02:44 +01:00
parent 0d2c5048b0
commit 71eb7d969c
2 changed files with 5 additions and 3 deletions

View File

@ -39,7 +39,7 @@ make install \
cd ../imageBuild
tar czvf $ALPINE_TARFILE_NAME.tar.gz alpineTarDir
tar czvf $ALPINE_NAME.tar.gz alpineTarDir
cat <<ALPINE_INSTALL > $ALPINE_NAME.install
#!/bin/sh
@ -77,3 +77,4 @@ tar xvf $ALPINE_NAME.tar.gz --strip-comonents=1
ALPINE_INSTALL
chmod a+x $ALPINE_NAME.tar.gz

View File

@ -53,9 +53,10 @@ echo "export DOCKER_NAME=\"$DOCKER_NAME\"" >> ../../buildScripts/reSourc
cat > Dockerfile <<DOCKERFILE_HERE_DOC
FROM $DOCKER_FROM
COPY ./$ALPINE_NAME.* /root
COPY ./$ALPINE_NAME.* /root && \
chmod a+x /root/$APLINE_NAME.install
RUN /bin/sh -c /root/$ALPINE_NAME.install
RUN /root/$ALPINE_NAME.install
ENTRYPOINT ["$PDF2HTMLEX_PREFIX/bin/pdf2htmlEX"]
DOCKERFILE_HERE_DOC