This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: BlackEagle <[email protected]>
- Loading branch information
1 parent
2753afa
commit 97c30c6
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM dockerwest/php:8.0 | ||
|
||
COPY ./scripts / | ||
RUN /install.sh | ||
RUN rm /install* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
#docker pull dockerwest/php:8.0 | ||
|
||
docker build --no-cache -t dockerwest/php-pimcore:8.0 . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
# ffmpeg comes from backports | ||
echo "deb http://deb.debian.org/debian $(lsb_release -sc)-backports main" \ | ||
> /etc/apt/sources.list.d/backports.list | ||
# java post install fails if not there | ||
mkdir /usr/share/man/man1/ | ||
|
||
# install packages | ||
apt-get update | ||
|
||
extensions -i bz2 gd imagick intl mbstring memcached mysql redis soap \ | ||
sodium sqlite3 xml zip | ||
apt-get install -y imagemagick inkscape pngnq pngcrush xvfb cabextract \ | ||
poppler-utils xz-utils libreoffice libreoffice-math jpegoptim ffmpeg \ | ||
html2text ghostscript exiftool | ||
|
||
# wkhtmltopdf | ||
apt-get install -y xfonts-75dpi | ||
curl -LO https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | ||
tar -xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | ||
cp -a wkhtmltox/bin/wkhtmltopdf /usr/local/bin/ | ||
rm -rf wkhtmltox wkhtmltox-0.12.4_linux-generic-amd64.tar.xz | ||
|
||
apt-get clean -y | ||
|
||
rm -rf /usr/share/man/man1/ | ||
|
||
# update permissions to allow rootless operation | ||
/usr/local/bin/permissions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ | |
( cd 7.2; ./build.sh ) | ||
( cd 7.3; ./build.sh ) | ||
( cd 7.4; ./build.sh ) | ||
( cd 8.0; ./build.sh ) |