robotter112.de
/
php-docker
Archiviert
2
0
Fork 0

Alpine as base image to minimize image size
continuous-integration/drone/push Build is failing Details

Dieser Commit ist enthalten in:
Nick Slowinski 2021-06-21 10:21:26 +02:00
Ursprung aa0c293bfc
Commit e26e083ece
Signiert von: nickslowinski
GPG-Schlüssel-ID: F7F36D4749228BAC
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Added
- Readme (EN+DE) added.
### Changed
- An Alpine variant of the base image is now used to minimize the image size.
## 2021-06-20
### Added
- Default start command added - must no longer be provided.

Datei anzeigen

@ -15,9 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
FROM php:8.0-fpm
FROM php:8.0-fpm-alpine
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN apt-get update && apt-get install -y procps && rm -rf /var/lib/apt/lists/*
RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \
install-php-extensions zip ssh2 pdo_mysql mysqli
COPY docker-php-entrypoint-custom /usr/local/bin/