Skip to content

Commit

Permalink
Merge branch 'release/1.0.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Feb 8, 2023
2 parents ee2749d + 8f06932 commit 1ab320e
Show file tree
Hide file tree
Showing 11 changed files with 2,382 additions and 2,318 deletions.
2 changes: 1 addition & 1 deletion .docker-config/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nystudio107/spin-up-craft-base:8.0-alpine
FROM nystudio107/spin-up-craft-base:8.1-alpine

WORKDIR /var/www

Expand Down
2 changes: 1 addition & 1 deletion .docker-config/php/composer_install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

# Composer Install shell script
#
Expand Down
2 changes: 1 addition & 1 deletion .docker-config/php/run_queue.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh

# Run Queue shell script
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ docker buildx build \
--push \
--no-cache \
--platform linux/arm64/v8,linux/amd64 \
--tag nystudio107/spin-up-craft-base:8.0-alpine \
--tag nystudio107/spin-up-craft-base:latest .
--tag nystudio107/spin-up-craft-base:8.0-alpine .
43 changes: 43 additions & 0 deletions .docker-config/spin-up-craft-base/php-8.1-alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
FROM nystudio107/php-prod-base:8.1-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 \
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/*
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.1-alpine \
--tag nystudio107/spin-up-craft-base:latest .
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# nystudio107/spin-up-craft Change Log

## 1.0.4 - 2023.02.08
### Added
* Add PHP 8.1 as the default image

### Changed
* Use `#!/bin/sh` for the scripts shebang
* Updated to `"craftcms/cms": "^4.3.8"`

## 1.0.3 - 2023.02.05
### Added
* Added `nystudio107/craft-autocomplete` to allow for Craft API autocomplete in PhpStorm
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"require": {
"craftcms/cms": "^4.3.7.1",
"craftcms/cms": "^4.3.8",
"vlucas/phpdotenv": "^5.4.0"
},
"require-dev": {
Expand Down
54 changes: 27 additions & 27 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1ab320e

Please sign in to comment.