-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
115 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM nystudio107/spin-up-craft-base:8.1-alpine | ||
FROM nystudio107/spin-up-craft-base:8.2-alpine | ||
|
||
WORKDIR /var/www | ||
|
||
|
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
44 changes: 44 additions & 0 deletions
44
.docker-config/spin-up-craft-base-dev/php-8.2-alpine/Dockerfile
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,44 @@ | ||
FROM nystudio107/php-dev-base:8.2-alpine | ||
|
||
# dependencies required for running "phpize" | ||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed) | ||
ENV PHPIZE_DEPS \ | ||
autoconf \ | ||
dpkg-dev \ | ||
dpkg \ | ||
file \ | ||
g++ \ | ||
gcc \ | ||
libc-dev \ | ||
make \ | ||
pkgconf \ | ||
re2c \ | ||
linux-headers \ | ||
wget | ||
|
||
# Install packages | ||
RUN set -eux; \ | ||
# Packages needed only for build | ||
apk add --no-cache --virtual .build-deps \ | ||
$PHPIZE_DEPS \ | ||
&& \ | ||
# Packages to install | ||
apk add --no-cache \ | ||
su-exec \ | ||
nano \ | ||
mysql-client \ | ||
mariadb-connector-c \ | ||
&& \ | ||
# Install PHP extensions | ||
docker-php-ext-install \ | ||
pdo_mysql \ | ||
soap \ | ||
&& \ | ||
# Install Composer | ||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \ | ||
&& \ | ||
# Remove the build deps | ||
apk del .build-deps \ | ||
&& \ | ||
# Clean out directories that don't need to be part of the image | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
9 changes: 9 additions & 0 deletions
9
.docker-config/spin-up-craft-base-dev/php-8.2-alpine/build_and_push.sh
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,9 @@ | ||
#!/bin/sh | ||
# Build this image, and push it to DockerHub.com | ||
|
||
docker buildx build \ | ||
--push \ | ||
--no-cache \ | ||
--platform linux/arm64/v8,linux/amd64 \ | ||
--tag nystudio107/spin-up-craft-base-dev:8.2-alpine \ | ||
--tag nystudio107/spin-up-craft-base-dev:latest . |
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
44 changes: 44 additions & 0 deletions
44
.docker-config/spin-up-craft-base/php-8.2-alpine/Dockerfile
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,44 @@ | ||
FROM nystudio107/php-prod-base:8.2-alpine | ||
|
||
# dependencies required for running "phpize" | ||
# these get automatically installed and removed by "docker-php-ext-*" (unless they're already installed) | ||
ENV PHPIZE_DEPS \ | ||
autoconf \ | ||
dpkg-dev \ | ||
dpkg \ | ||
file \ | ||
g++ \ | ||
gcc \ | ||
libc-dev \ | ||
make \ | ||
pkgconf \ | ||
re2c \ | ||
linux-headers \ | ||
wget | ||
|
||
# Install packages | ||
RUN set -eux; \ | ||
# Packages needed only for build | ||
apk add --no-cache --virtual .build-deps \ | ||
$PHPIZE_DEPS \ | ||
&& \ | ||
# Packages to install | ||
apk add --no-cache \ | ||
su-exec \ | ||
nano \ | ||
mysql-client \ | ||
mariadb-connector-c \ | ||
&& \ | ||
# Install PHP extensions | ||
docker-php-ext-install \ | ||
pdo_mysql \ | ||
soap \ | ||
&& \ | ||
# Install Composer | ||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \ | ||
&& \ | ||
# Remove the build deps | ||
apk del .build-deps \ | ||
&& \ | ||
# Clean out directories that don't need to be part of the image | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* |
9 changes: 9 additions & 0 deletions
9
.docker-config/spin-up-craft-base/php-8.2-alpine/build_and_push.sh
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,9 @@ | ||
#!/bin/sh | ||
# Build this image, and push it to DockerHub.com | ||
|
||
docker buildx build \ | ||
--push \ | ||
--no-cache \ | ||
--platform linux/arm64/v8,linux/amd64 \ | ||
--tag nystudio107/spin-up-craft-base:8.2-alpine \ | ||
--tag nystudio107/spin-up-craft-base:latest . |
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
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