mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Fixed install of mongodb-org-shell and mongodb-org-tools
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
FROM devilbox/php-fpm:8.1-prod
|
||||
MAINTAINER "cytopia" <cytopia@everythingcli.org>
|
||||
|
||||
ARG ARCH
|
||||
|
||||
###
|
||||
### Labels
|
||||
@@ -103,8 +104,6 @@ RUN set -eux \
|
||||
libyaml-dev \
|
||||
locales \
|
||||
make \
|
||||
mongodb-org-shell \
|
||||
mongodb-org-tools \
|
||||
moreutils \
|
||||
mariadb-client \
|
||||
mupdf \
|
||||
@@ -145,6 +144,20 @@ RUN set -eux \
|
||||
&& (find /usr/local/sbin -type f -print0 | xargs -n1 -0 strip --strip-all -p 2>/dev/null || true)
|
||||
|
||||
|
||||
###
|
||||
### Instal Architecture Dependent software
|
||||
###
|
||||
RUN set -eux \
|
||||
&& if [ "${ARCH}" = "linux/amd64" ]; \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get update -q \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -q -y --no-install-recommends --no-install-suggests \
|
||||
mongodb-org-shell \
|
||||
mongodb-org-tools; \
|
||||
fi \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get purge -q -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
|
||||
|
||||
###
|
||||
### Install custom software
|
||||
###
|
||||
|
||||
Reference in New Issue
Block a user