mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-21 12:40:08 +00:00
corrected alpine image creation
This commit is contained in:
parent
0d2c5048b0
commit
71eb7d969c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user