Alpine as base image to minimize image size
Einige Prüfungen sind fehlgeschlagen
continuous-integration/drone/push Build is failing
Einige Prüfungen sind fehlgeschlagen
continuous-integration/drone/push Build is failing
Dieser Commit ist enthalten in:
Ursprung
aa0c293bfc
Commit
e26e083ece
2 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen
|
@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||||
### Added
|
### Added
|
||||||
- Readme (EN+DE) added.
|
- Readme (EN+DE) added.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- An Alpine variant of the base image is now used to minimize the image size.
|
||||||
|
|
||||||
## 2021-06-20
|
## 2021-06-20
|
||||||
### Added
|
### Added
|
||||||
- Default start command added - must no longer be provided.
|
- Default start command added - must no longer be provided.
|
||||||
|
|
|
@ -15,9 +15,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# 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/
|
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 && \
|
RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \
|
||||||
install-php-extensions zip ssh2 pdo_mysql mysqli
|
install-php-extensions zip ssh2 pdo_mysql mysqli
|
||||||
COPY docker-php-entrypoint-custom /usr/local/bin/
|
COPY docker-php-entrypoint-custom /usr/local/bin/
|
||||||
|
|
In neuem Issue referenzieren