freescout (freescout-production)

Published 2024-10-11 16:37:09 -04:00 by colin

Installation

docker pull git.nixc.us/colin/freescout:freescout-production
sha256:450bc5759b3a70b8fce217827ab193c67d3b25c4c02e2cab7fd6cdbeffb545bb

Image Layers

ADD file:9e193d6fff4bce11c0ee715ad87def9ef40e9608d4be84cf73391edd45b2810e in /
CMD ["/bin/sh"]
LABEL tiredofit.tiredofit/alpine.git_tag=refs/tags/7.10.15
LABEL tiredofit.tiredofit/alpine.git_changelog_version=7.10.15
LABEL org.opencontainers.image.source=https://github.com/tiredofit/docker-alpine
LABEL tiredofit.tiredofit/alpine.image_build_date=2024-10-01 16:59:50
LABEL tiredofit.tiredofit/alpine.git_committed_by=tiredofit
LABEL tiredofit.tiredofit/alpine.git_commit=290907d413390ccecb2ac61c6869571139e40f8f
LABEL tiredofit.tiredofit/alpine.git_repository=https://github.com/tiredofit/docker-alpine
LABEL maintainer=Dave Conroy (github.com/tiredofit)
ARG GOLANG_VERSION=1.21.10
ARG DOAS_VERSION
ARG FLUENTBIT_VERSION
ARG S6_OVERLAY_VERSION
ARG YQ_VERSION
ARG ZABBIX_VERSION
ENV FLUENTBIT_VERSION=3.1.9 S6_OVERLAY_VERSION=3.2.0.0 YQ_VERSION=v4.44.2 ZABBIX_VERSION=7.0.4 DOAS_VERSION=v6.8.2 DEBUG_MODE=FALSE TIMEZONE=Etc/GMT CONTAINER_ENABLE_SCHEDULING=TRUE CONTAINER_SCHEDULING_BACKEND=cron CONTAINER_ENABLE_MESSAGING=TRUE CONTAINER_MESSAGING_BACKEND=msmtp CONTAINER_ENABLE_MONITORING=TRUE CONTAINER_MONITORING_BACKEND=zabbix CONTAINER_ENABLE_LOGSHIPPING=FALSE S6_GLOBAL_PATH=/command:/usr/bin:/bin:/usr/sbin:sbin:/usr/local/bin:/usr/local/sbin S6_KEEP_ENV=1 S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 IMAGE_NAME=tiredofit/alpine IMAGE_REPO_URL=https://github.com/tiredofit/docker-alpine/
RUN |6 GOLANG_VERSION=1.21.10 DOAS_VERSION=v6.8.2 FLUENTBIT_VERSION=3.1.9 S6_OVERLAY_VERSION=3.2.0.0 YQ_VERSION=v4.44.2 ZABBIX_VERSION=7.0.4 /bin/sh -c case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2)" in "3.5" | "3.6" ) no_upx=true ;; *) busybox_extras="busybox-extras" ;; esac ; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2 | cut -d _ -f 1)" in 3.11 | 3.12 | 3.13 | 3.14 | 3.15 | 3.16 | 3.17* | 3.18* | 3.19* | 3.20* | 3.21* | edge ) zabbix_args=" --enable-agent2 " ; zabbix_agent2=true ; fluentbit_make=true ; echo "** Building Zabbix Agent 2" ; echo "** Building Fluent Bit" ;; *) : ;; esac ; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2 | cut -d _ -f 1)" in 3.11 | 3.12 | 3.13 | 3.14 ) export GOLANG_VERSION=1.19.5 ; yq=false ;; *) : ;; esac ; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2 | cut -d _ -f 1)" in 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 | 3.15 | 3.16 ) yq=false ;; *) : ;; esac ; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2 | cut -d _ -f 1)" in 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 | 3.15 | 3.16 ) fts=fts ;; 3.17 | 3.18* | 3.19* | 3.20* | 3.21* ) fts=musl-fts ;; *) : ;; esac ; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2 | cut -d _ -f 1)" in 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 | 3.15 | 3.16 ) alpine_ssl=libressl ;; 3.17* | 3.18* | 3.19* | 3.20* | 3.21* ) alpine_ssl=openssl ;; *) : ;; esac ; apkArch="$(apk --print-arch)" ; case "$apkArch" in x86_64) upx=upx ;; *) : ;; esac; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2)" in "3.5" | "3.6") upx="" ;; esac ; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2)" in "3.5" | "3.6" | "3.7" | "3.8" ) build_doas=true ;; *) doas_package="doas" ;; esac ; case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2)" in "3.5" | "3.8" ) zstd_packge="" ;; *) zstd_package=zstd ;; esac ; set -ex && apk update && apk upgrade && apk add -t .base-rundeps acl ${alpine_ssl} bash bc ${busybox_extras} curl ${doas_package} fail2ban ${fts} git grep iptables iputils jq less libgcc $(apk search libssl1* -q) logrotate msmtp nano pcre s6 sudo tzdata yaml ${zstd_package} && apk add -t .golang-build-deps go musl-dev && apk add -t .zabbix-build-deps alpine-sdk autoconf automake binutils coreutils g++ openssl-dev make pcre-dev zlib-dev ${additional_packages} ${upx} && apk add -t .fluentbit-build-deps bison cmake flex ${fts}-dev linux-headers openssl-dev snappy-dev yaml-dev && apk add gettext && mv /usr/bin/envsubst /usr/local/bin/envsubst && cp -R /usr/share/zoneinfo/${TIMEZONE} /etc/localtime && echo "${TIMEZONE}" > /etc/timezone && echo "Set disable_coredump false" > /etc/sudo.conf && if [ "$build_doas" = "true" ] ; then mkdir -p /usr/src/doas ; curl -sSL https://github.com/Duncaen/OpenDoas/archive/${DOAS_VERSION}.tar.gz | tar xfz - --strip 1 -C /usr/src/doas ; cd /usr/src/doas ; ./configure --prefix=/usr --enable-static --without-pam ; make ; make install ; fi ; if [ "$zabbix_agent2" = "true" ] ; then mkdir -p /usr/src/golang ; curl -sSL https://dl.google.com/go/go${GOLANG_VERSION}.src.tar.gz | tar xvfz - --strip 1 -C /usr/src/golang ; cd /usr/src/golang/src/ ; ./make.bash 1>/dev/null ; export GOROOT=/usr/src/golang/ ; export PATH="/usr/src/golang/bin:$PATH" ; fi ; if [ "$yq" != "false" ] ; then git clone https://github.com/mikefarah/yq /usr/src/yq ; cd /usr/src/yq ; git checkout ${YQ_VERSION} ; go build ; cp -R yq /usr/local/bin ; fi ; addgroup -g 10050 zabbix && adduser -S -D -H -h /dev/null -s /sbin/nologin -G zabbix -u 10050 zabbix && mkdir -p /etc/zabbix && mkdir -p /etc/zabbix/zabbix_agentd.conf.d && mkdir -p /var/lib/zabbix && mkdir -p /var/lib/zabbix/enc && mkdir -p /var/lib/zabbix/modules && mkdir -p /var/lib/zabbix/run && mkdir -p /var/log/zabbix && chown --quiet -R zabbix:root /etc/zabbix && chown --quiet -R zabbix:root /var/lib/zabbix && chown --quiet -R zabbix:root /var/log/zabbix && chmod -R 770 /var/lib/zabbix/run && mkdir -p /usr/src/zabbix && curl -sSL https://github.com/zabbix/zabbix/archive/${ZABBIX_VERSION}.tar.gz | tar xfz - --strip 1 -C /usr/src/zabbix && cd /usr/src/zabbix && ./bootstrap.sh 1>/dev/null && export CFLAGS="-fPIC -pie -Wl,-z,relro -Wl,-z,now" && sed -i "s|CGO_CFLAGS=\"\${CGO_CFLAGS}\"| CGO_CFLAGS=\"-D_LARGEFILE64_SOURCE \${CGO_CFLAGS}\"|g" /usr/src/zabbix/src/go/Makefile.am && ./configure --prefix=/usr --silent --sysconfdir=/etc/zabbix --libdir=/usr/lib/zabbix --datadir=/usr/lib --enable-agent ${zabbix_args} --enable-ipv6 --with-openssl && make -j"$(nproc)" -s 1>/dev/null && cp src/zabbix_agent/zabbix_agentd /usr/sbin/zabbix_agentd && cp src/zabbix_get/zabbix_get /usr/sbin/zabbix_get && cp src/zabbix_sender/zabbix_sender /usr/sbin/zabbix_sender && if [ "$zabbix_agent2" = "true" ] ; then cp src/go/bin/zabbix_agent2 /usr/sbin/zabbix_agent2 ; fi ; strip /usr/sbin/zabbix_agentd && strip /usr/sbin/zabbix_get && strip /usr/sbin/zabbix_sender && if [ "$zabbix_agent2" = true ] ; then strip /usr/sbin/zabbix_agent2 ; fi ; if [ "$apkArch" = "x86_64" ] && [ "$no_upx" != "true" ]; then upx /usr/sbin/zabbix_agentd ; fi ; if [ "$apkArch" = "x86_64" ] && [ "$no_upx" != "true" ]; then upx /usr/sbin/zabbix_get ; fi ; if [ "$apkArch" = "x86_64" ] && [ "$no_upx" != "true" ]; then upx /usr/sbin/zabbix_sender ; fi ; if [ "$apkArch" = "x86_64" ] && [ "$zabbix_agent2" = "true" ] && [ "$no_upx" != "true" ]; then upx /usr/sbin/zabbix_agent2 ; fi ; rm -rf /usr/src/zabbix && mkdir -p /usr/src/fluentbit && curl -sSL https://github.com/fluent/fluent-bit/archive/v${FLUENTBIT_VERSION}.tar.gz | tar xfz - --strip 1 -C /usr/src/fluentbit && cd /usr/src/fluentbit && curl -sSL https://git.alpinelinux.org/aports/plain/testing/fluent-bit/chunkio-static-lib-fts.patch | patch -p1 && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=None -DFLB_AWS=No -DFLB_BACKTRACE=No -DFLB_CORO_STACK_SIZE=24576 -DFLB_DEBUG=No -DFLB_EXAMPLES=No -DFLB_FILTER_AWS=No -DFLB_FILTER_ECS=No -DFLB_FILTER_NIGHTFALL=No -DFLB_FILTER_GEOIP2=No -DFLB_FILTER_KUBERNETES=No -DFLB_FILTER_TENSORFLOW=No -DFLB_FILTER_WASM=No -DFLB_HTTP_SERVER=Yes -DFLB_IN_CALYPTIA_FLEET=No -DFLB_IN_COLLECTD=No -DFLB_IN_CPU=No -DFLB_IN_DISK=No -DFLB_IN_DOCKER=No -DFLB_IN_DOCKER_EVENTS=No -DFLB_IN_EMITTER=Ywa -DFLB_IN_EXEC=Yes -DFLB_IN_EXEC_WASI=No -DFLB_IN_ELASTICSEARCH=No -DFLB_IN_HEALTH=No -DFLB_IN_KAFKA=Yes -DFLB_IN_KMSG=No -DFLB_IN_KUBERNETES_EVENTS=No -DFLB_IN_MEM=No -DFLB_IN_MQTT=No -DFLB_IN_NETIF=No -DFLB_IN_NGINX_EXPORTER_METRICS=No -DFLB_IN_NODE_EXPORTER_METRICS=No -DFLB_IN_OPENTELEMETRY=No -DFLB_IN_PODMAN_METRICS=No -DFLB_IN_PROCESS_EXPORTER_METRICS=No -DFLB_IN_PROC=No -DFLB_IN_PROMETHEUS_REMOTE_WRITE=Yes -DFLB_IN_PROMETHEUS_SCRAPE=No -DFLB_IN_SERIAL=No -DFLB_IN_SPLUNK=No -DFLB_IN_STATSD=No -DFLB_IN_SYSTEMD=No -DFLB_IN_SYSLOG=No -DFLB_IN_TCP=No -DFLB_IN_UDP=No -DFLB_IN_UNIX_SOCKET=No -DFLB_IN_THERMAL=No -DFLB_IN_WINLOG=No -DFLB_IN_WINDOWS_EXPORTER_METRICS=No -DFLB_IN_WINSTAT=No -DFLB_JEMALLOC=Yes -DFLB_LUAJIT=No -DFLB_PROCESSOR_OPENTELEMETRY_ENVELOPE=No -DFLB_PROCESSOR_SQL=No -DFLB_OUT_AZURE=No -DFLB_OUT_AZURE_BLOB=No -DFLB_OUT_AZURE_KUSTO=No -DFLB_OUT_AZURE_LOGS_INGESTION=No -DFLB_OUT_BIGQUERY=No -DFLB_OUT_CALYPTIA=No -DFLB_OUT_CHRONICLE=No -DFLB_OUT_CLOUDWATCH_LOGS=No -DFLB_OUT_COUNTER=No -DFLB_OUT_DATADOG=No -DFLB_OUT_ES=No -DFLB_OUT_FLOWCOUNTER=No -DFLB_OUT_GELF=No -DFLB_OUT_INFLUXDB=No -DFLB_OUT_KAFKA=No -DFLB_OUT_KAFKA_REST=No -DFLB_OUT_KINESIS_FIREHOSE=No -DFLB_OUT_KINESIS_STREAMS=No -DFLB_OUT_LIB=No -DFLB_OUT_LOGDNA=No -DFLB_OUT_NATS=No -DFLB_OUT_NRLOGS=No -DFLB_OUT_OPENSEARCH=No -DFLB_OUT_ORACLE_LOG_ANALYTICS=No -DFLB_OUT_OPENTELEMETRY=No -DFLB_OUT_PROMETHEUS_EXPORTER=No -DFLB_OUT_PROMETHEUS_REMOTE_WRITE=No -DFLB_OUT_PGSQL=No -DFLB_OUT_PLOT=No -DFLB_OUT_S3=No -DFLB_OUT_SKYWALKING=No -DFLB_OUT_SLACK=No -DFLB_OUT_SPLUNK=No -DFLB_OUT_STACKDRIVER=No -DFLB_OUT_TCP=No -DFLB_OUT_TD=No -DFLB_OUT_UDP=No -DFLB_OUT_VIVO_EXPORTER=No -DFLB_OUT_WEBSOCKET=No -DFLB_RELEASE=Yes -DFLB_SHARED_LIB=No -DFLB_SIGNV4=No -DFLB_SMALL=Yes -DFLB_WASM=No . && if [ "$fluentbit_make" = "true" ] ; then if [ "$apkArch" = "x86_64" ] ; then make -j"$(nproc)" ; make install ; mv /usr/etc/fluent-bit /etc/fluent-bit ; mkdir -p /etc/fluent-bit/parsers.d; mkdir -p /etc/fluent-bit/conf.d ; strip /usr/bin/fluent-bit ; if [ "$apkArch" = "x86_64" ] && [ "$no_upx" != "true" ]; then upx /usr/bin/fluent-bit ; fi ; fi ; fi ; addgroup -g 65500 fail2ban && addgroup zabbix fail2ban && rm -rf /var/run/fail2ban && mkdir -p /var/run/fail2ban && chown -R root:fail2ban /var/run/fail2ban && setfacl -d -m g:fail2ban:rwx /var/run/fail2ban && find /etc/fail2ban/action.d/ -type f -not -name 'iptables*.conf' -delete && rm -rf /etc/fail2ban/filter.d && mkdir -p /etc/fail2ban/filter.d && rm -rf /etc/fail2ban/fail2ban.d && rm -rf /etc/fail2ban/jail.d/* && rm -rf /etc/fail2ban/paths* && mkdir -p /etc/logrotate.d && mkdir -p /etc/doas.d && apk del --purge .fluentbit-build-deps .golang-build-deps .zabbix-build-deps gettext && rm -rf /etc/*.apk.new && rm -rf /etc/logrotate.d/* && rm -rf /etc/doas.conf /etc/doas.d/* && rm -rf /root/.cache && rm -rf /root/go && rm -rf /tmp/* && rm -rf /usr/src/* && rm -rf /var/cache/apk/* && apkArch="$(apk --print-arch)" && case "$apkArch" in x86_64) s6Arch='x86_64' ;; armv7) s6Arch='armhf' ;; armhf) s6Arch='armhf' ;; aarch64) s6Arch='aarch64' ;; *) echo >&2 "Error: unsupported architecture ($apkArch)"; exit 1 ;; esac; curl -sSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz | tar xvpfJ - -C / && curl -sSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${s6Arch}.tar.xz | tar xvpfJ - -C / && curl -sSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-noarch.tar.xz | tar xvpfJ - -C / && curl -sSL https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-symlinks-arch.tar.xz | tar xvpfJ - -C / && mkdir -p /etc/cont-init.d && mkdir -p /etc/cont-finish.d && mkdir -p /etc/services.d && chown -R 0755 /etc/cont-init.d && chown -R 0755 /etc/cont-finish.d && chmod -R 0755 /etc/services.d && sed -i "s|echo|: # echo |g" /package/admin/s6-overlay/etc/s6-rc/scripts/cont-init && sed -i "s|echo|: # echo |g" /package/admin/s6-overlay/etc/s6-rc/scripts/cont-finish && sed -i "s|echo ' (no readiness notification)'|: # echo ' (no readiness notification)'|g" /package/admin/s6-overlay/etc/s6-rc/scripts/services-up && sed -i "s|s6-echo -n|: # s6-echo -n|g" /package/admin/s6-overlay/etc/s6-rc/scripts/services-up && sed -i "s|v=2|v=1|g" /package/admin/s6-overlay/etc/s6-linux-init/skel/rc.init && sed -i "s|v=2|v=1|g" /package/admin/s6-overlay/etc/s6-linux-init/skel/rc.shutdown # buildkit
SHELL [/bin/bash -c]
EXPOSE map[10050/tcp:{} 2020/tcp:{}]
ENTRYPOINT ["/init"]
COPY install/ / # buildkit
LABEL tiredofit.tiredofit/nginx.git_tag=refs/tags/6.5.3
LABEL tiredofit.tiredofit/nginx.git_changelog_version=6.5.3
LABEL org.opencontainers.image.source=https://github.com/tiredofit/docker-nginx
LABEL tiredofit.tiredofit/nginx.image_build_date=2024-10-02 17:08:38
LABEL tiredofit.tiredofit/nginx.git_committed_by=tiredofit
LABEL tiredofit.tiredofit/nginx.git_commit=c540efede71ca4816dbf9bf76c603303afd3d0a0
LABEL tiredofit.tiredofit/nginx.git_repository=https://github.com/tiredofit/docker-nginx
LABEL maintainer=Dave Conroy (github.com/tiredofit)
ARG NGINX_VERSION
ENV NGINX_VERSION=1.27.2 NGINX_MODULE_AUTH_LDAP_VERSION=241200eac8e4acae74d353291bd27f79e5ca3dc4 NGINX_MODULE_BROTLI_VERSION=6e975bcb015f62e1f303054897783355e2a877dc NGINX_MODULE_COOKIE_FLAG_VERSION=c4ff449318474fbbb4ba5f40cb67ccd54dc595d4 NGINX_MODULE_MORE_HEADERS_VERSION=f8f80997f19a41dc4181987544b9f3570cc3d6da NGINX_USER=nginx NGINX_GROUP=www-data NGINX_WEBROOT=/www/html IMAGE_NAME=tiredofit/nginx IMAGE_REPO_URL=https://github.com/tiredofit/docker-nginx/
RUN |1 NGINX_VERSION=1.27.2 /bin/bash -c case "$(cat /etc/os-release | grep VERSION_ID | cut -d = -f 2 | cut -d . -f 1,2 | cut -d _ -f 1)" in 3.5 | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 | 3.12 | 3.13 | 3.14 | 3.15 | 3.16 ) alpine_ssl=libressl ;; 3.17* | 3.18* | 3.19* | 3.20* | 3.21* ) alpine_ssl=openssl ;; *) : ;; esac ; source /assets/functions/00-container && set -x && sed -i "/www-data/d" /etc/group* && addgroup -S -g 82 ${NGINX_GROUP} && adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G ${NGINX_GROUP} -g "${NGINX_USER}" -u 80 ${NGINX_USER} && package update && package upgrade && package install .nginx-build-deps gcc gd-dev geoip-dev libc-dev ${alpine_ssl}-dev libxslt-dev linux-headers make pcre-dev perl-dev tar zlib-dev && package install .brotli-build-deps autoconf automake cmake g++ git libtool && package install .auth-ldap-build-deps openldap-dev && mkdir -p /www /var/log/nginx && chown -R ${NGINX_USER}:${NGINX_GROUP} /var/log/nginx && clone_git_repo https://github.com/openresty/headers-more-nginx-module ${NGINX_MODULE_MORE_HEADERS_VERSION} && clone_git_repo https://github.com/kvspb/nginx-auth-ldap ${NGINX_MODULE_AUTH_LDAP_VERSION} && clone_git_repo https://github.com/google/ngx_brotli ${NGINX_MODULE_BROTLI_VERSION} && clone_git_repo https://github.com/AirisX/nginx_cookie_flag_module ${NGINX_MODULE_COOKIE_FLAG_VERSION} && mkdir -p /usr/src/nginx && curl -sSL http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz | tar xvfz - --strip 1 -C /usr/src/nginx && cd /usr/src/nginx && ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/dev/null --http-log-path=/dev/null --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=${NGINX_USER} --group=${NGINX_GROUP} --add-module=${GIT_REPO_SRC_HEADERS_MORE_NGINX_MODULE} --add-module=${GIT_REPO_SRC_NGINX_AUTH_LDAP} --add-module=${GIT_REPO_SRC_NGINX_COOKIE_FLAG_MODULE} --add-module=${GIT_REPO_SRC_NGX_BROTLI} --with-cc-opt='-Wno-vla-parameter' --with-compat --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_perl_module=dynamic --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_xslt_module=dynamic --with-mail --with-mail_ssl_module --with-stream --with-stream_geoip_module=dynamic --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads && make -j$(getconf _NPROCESSORS_ONLN) && make install && rm -rf /etc/nginx/html/ && mkdir -p /etc/nginx/sites.enabled && mkdir -p /etc/nginx/sites.available && mkdir -p /usr/share/nginx/html/ && install -m644 html/index.html /usr/share/nginx/html/ && install -m644 html/50x.html /usr/share/nginx/html/ && ln -s ../../usr/lib/nginx/modules /etc/nginx/modules && strip /usr/sbin/nginx* && strip /usr/lib/nginx/modules/*.so && runDeps="$( scanelf --needed --nobanner /usr/sbin/nginx /usr/lib/nginx/modules/*.so /tmp/envsubst | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' | sort -u | xargs -r package info --installed | sort -u )" && package install .nginx-run-deps $runDeps apache2-utils inotify-tools libldap && mkdir -p /etc/nginx/snippets/blockbots && mkdir -p /etc/nginx/snippets/blockbots-custom && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/bad-referrer-words.conf -o /etc/nginx/snippets/blockbots/bad-referrer-words.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/bad-referrers.conf -o /etc/nginx/snippets/blockbots/bad-referrers.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/blacklist-ips.conf -o /etc/nginx/snippets/blockbots/blacklist-ips.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/blacklist-user-agents.conf -o /etc/nginx/snippets/blockbots/blacklist-user-agents.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/blockbots.conf -o /etc/nginx/snippets/blockbots/blockbots.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/custom-bad-referrers.conf -o /etc/nginx/snippets/blockbots/custom-bad-referrers.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/ddos.conf -o /etc/nginx/snippets/blockbots/ddos.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/whitelist-domains.conf -o /etc/nginx/snippets/blockbots/whitelist-domains.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/bots.d/whitelist-ips.conf -o /etc/nginx/snippets/blockbots/whitelist-ips.conf && curl -sL https://raw.githubusercontent.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/master/conf.d/globalblacklist.conf -o /etc/nginx/snippets/blockbots/globalblacklist.conf && sed -i "s|/etc/nginx/bots.d/|/etc/nginx/snippets/blockbots/|g" /etc/nginx/snippets/blockbots/globalblacklist.conf && sed -i "s|/etc/nginx/snippets/blockbots/bad-referrer-words.conf|/etc/nginx/snippets/blockbots-custom/bad-referrer-words.conf|g" /etc/nginx/snippets/blockbots/globalblacklist.conf && sed -i "s|/etc/nginx/snippets/blockbots/blacklist-ips.conf|/etc/nginx/snippets/blockbots-custom/blacklist-ips.conf|g" /etc/nginx/snippets/blockbots/globalblacklist.conf && sed -i "s|/etc/nginx/snippets/blockbots/blacklist-user-agents.conf|/etc/nginx/snippets/blockbots-custom/blacklist-user-agents.conf|g" /etc/nginx/snippets/blockbots/globalblacklist.conf && sed -i "s|/etc/nginx/snippets/blockbots/whitelist-domains.conf|/etc/nginx/snippets/blockbots-custom/whitelist-domains.conf|g" /etc/nginx/snippets/blockbots/globalblacklist.conf && sed -i "s|/etc/nginx/snippets/blockbots/whitelist-ips.conf|/etc/nginx/snippets/blockbots-custom/whitelist-ips.conf|g" /etc/nginx/snippets/blockbots/globalblacklist.conf && package remove .nginx-build-deps .brotli-build-deps .auth-ldap-build-deps && package cleanup && rm -rf /etc/nginx/*.default /usr/src/* /var/tmp/* # buildkit
EXPOSE map[80/tcp:{}]
COPY install / # buildkit
LABEL tiredofit.tiredofit/nginx-php-fpm.git_tag=refs/tags/7.7.12
LABEL tiredofit.tiredofit/nginx-php-fpm.git_changelog_version=7.7.12
LABEL org.opencontainers.image.source=https://github.com/tiredofit/docker-nginx-php-fpm
LABEL tiredofit.tiredofit/nginx-php-fpm.image_build_date=2024-10-04 15:45:17
LABEL tiredofit.tiredofit/nginx-php-fpm.git_committed_by=tiredofit
LABEL tiredofit.tiredofit/nginx-php-fpm.git_commit=c2fde1e807064ecef5ad9540a648b03ba051c6f2
LABEL tiredofit.tiredofit/nginx-php-fpm.git_repository=https://github.com/tiredofit/docker-nginx-php-fpm
LABEL maintainer=Dave Conroy (dave at tiredofit dot ca)
ARG PHP_BASE=8.2
ENV PHP_BASE=8.2 PHP_ENABLE_APCU=TRUE PHP_ENABLE_BCMATH=TRUE PHP_ENABLE_BZ2=TRUE PHP_ENABLE_CTYPE=TRUE PHP_ENABLE_CURL=TRUE PHP_ENABLE_DOM=TRUE PHP_ENABLE_EXIF=TRUE PHP_ENABLE_FILEINFO=TRUE PHP_ENABLE_GD=TRUE PHP_ENABLE_ICONV=TRUE PHP_ENABLE_IMAP=TRUE PHP_ENABLE_INTL=TRUE PHP_ENABLE_MBSTRING=TRUE PHP_ENABLE_MYSQLI=TRUE PHP_ENABLE_MYSQLND=TRUE PHP_ENABLE_OPCACHE=TRUE PHP_ENABLE_OPENSSL=TRUE PHP_ENABLE_PDO=TRUE PHP_ENABLE_PDO_MYSQL=TRUE PHP_ENABLE_PGSQL=TRUE PHP_ENABLE_PHAR=TRUE PHP_ENABLE_SESSION=TRUE PHP_ENABLE_SIMPLEXML=TRUE PHP_ENABLE_TOKENIZER=TRUE PHP_ENABLE_XML=TRUE PHP_ENABLE_XMLREADER=TRUE PHP_ENABLE_XMLWRITER=TRUE CONTAINER_NAME=nginx-php-fpm-app CONTAINER_ENABLE_MESSAGING=TRUE NGINX_ENABLE_CREATE_SAMPLE_HTML=FALSE IMAGE_NAME=tiredofit/nginx-php-fpm IMAGE_REPO_URL=https://github.com/tiredofit/docker-nginx-php-fpm/
RUN |1 PHP_BASE=8.2 /bin/bash -c case "${PHP_BASE}" in 8.3 ) export php_folder="83" export build_gnupg=true ;; 8.2 ) export php_folder="82" export build_gnupg=true ;; 8.1 ) export php_folder="81" export build_gnupg=true ;; *) export php_folder=${PHP_BASE:0:1} ; export build_gnupg=false ;; esac ; export PHP_8_3_RUN_DEPS=" gnu-libiconv mariadb-connector-c php83 php83-bcmath php83-bz2 php83-calendar php83-common php83-ctype php83-curl php83-dba php83-dom php83-embed php83-enchant php83-exif php83-ffi php83-fileinfo php83-fpm php83-ftp php83-gd php83-gettext php83-gmp php83-iconv php83-imap php83-intl php83-ldap php83-litespeed php83-mbstring php83-mysqli php83-mysqlnd php83-odbc php83-opcache php83-openssl php83-pcntl php83-pdo php83-pdo_dblib php83-pdo_mysql php83-pdo_odbc php83-pdo_pgsql php83-pdo_sqlite php83-pear php83-pecl-amqp php83-pecl-apcu php83-pecl-ast php83-pecl-brotli php83-pecl-couchbase php83-pecl-ds php83-pecl-event php83-pecl-grpc php83-pecl-imagick php83-pecl-igbinary php83-pecl-maxminddb php83-pecl-memcache php83-pecl-memcached php83-pecl-mongodb php83-pecl-msgpack php83-pecl-opentelemetry php83-pecl-pcov php83-pecl-psr php83-pecl-rdkafka php83-pecl-redis php83-pecl-smbclient php83-pecl-ssh2 php83-pecl-swoole php83-pecl-uploadprogress php83-pecl-xdebug php83-pecl-xhprof php83-pecl-xhprof-assets php83-pecl-yaml php83-pecl-zstd php83-pgsql php83-phar php83-posix php83-pspell php83-session php83-shmop php83-simplexml php83-snmp php83-soap php83-sockets php83-sodium php83-sqlite3 php83-sysvmsg php83-sysvsem php83-sysvshm php83-tidy php83-tokenizer php83-xml php83-xmlreader php83-xmlwriter php83-xsl php83-zip " && export PHP_8_2_RUN_DEPS=" gnu-libiconv mariadb-connector-c php82 php82-bcmath php82-bz2 php82-calendar php82-common php82-ctype php82-curl php82-dba php82-dom php82-embed php82-enchant php82-exif php82-ffi php82-fileinfo php82-fpm php82-ftp php82-gd php82-gettext php82-gmp php82-iconv php82-imap php82-intl php82-ldap php82-litespeed php82-mbstring php82-mysqli php82-mysqlnd php82-odbc php82-opcache php82-openssl php82-pcntl php82-pdo php82-pdo_dblib php82-pdo_mysql php82-pdo_odbc php82-pdo_pgsql php82-pdo_sqlite php82-pear php82-pecl-amqp php82-pecl-apcu php82-pecl-ast php82-pecl-brotli php82-pecl-couchbase php82-pecl-decimal php82-pecl-ds php82-pecl-event php82-pecl-grpc php82-pecl-igbinary php82-pecl-imagick php82-pecl-lzf php82-pecl-mailparse php82-pecl-maxminddb php82-pecl-mcrypt php82-pecl-memcache php82-pecl-memcached php82-pecl-mongodb php82-pecl-msgpack php82-pecl-opentelemetry php82-pecl-pcov php82-pecl-protobuf php82-pecl-psr php82-pecl-rdkafka php82-pecl-redis php82-pecl-smbclient php82-pecl-ssh2 php82-pecl-swoole php82-pecl-timezonedb php82-pecl-uploadprogress php82-pecl-uuid php82-pecl-vips php82-pecl-xdebug php82-pecl-xhprof php82-pecl-xhprof-assets php82-pecl-xlswriter php82-pecl-yaml php82-pecl-zstd php82-pgsql php82-phar php82-posix php82-pspell php82-session php82-shmop php82-simplexml php82-snmp php82-soap php82-sockets php82-sodium php82-sqlite3 php82-sysvmsg php82-sysvsem php82-sysvshm php82-tidy php82-tokenizer php82-xml php82-xmlreader php82-xmlwriter php82-xsl php82-zip " && export PHP_8_1_RUN_DEPS=" gnu-libiconv mariadb-connector-c php81 php81-bcmath php81-bz2 php81-calendar php81-common php81-ctype php81-curl php81-dba php81-dom php81-embed php81-enchant php81-exif php81-ffi php81-fileinfo php81-fpm php81-ftp php81-gd php81-gettext php81-gmp php81-iconv php81-imap php81-intl php81-ldap php81-litespeed php81-mbstring php81-mysqli php81-mysqlnd php81-odbc php81-opcache php81-openssl php81-pcntl php81-pdo php81-pdo_dblib php81-pdo_mysql php81-pdo_odbc php81-pdo_pgsql php81-pdo_sqlite php81-pear php81-pecl-amqp php81-pecl-apcu php81-pecl-ast php81-pecl-brotli php81-pecl-couchbase php81-pecl-decimal php81-pecl-ds php81-pecl-event php81-pecl-igbinary php81-pecl-imagick php81-pecl-luasandbox php81-pecl-lzf php81-pecl-mailparse php81-pecl-maxminddb php81-pecl-mcrypt php81-pecl-memcache php81-pecl-memcached php81-pecl-mongodb php81-pecl-msgpack php81-pecl-opentelemetry php81-pecl-pcov php81-pecl-protobuf php81-pecl-psr php81-pecl-rdkafka php81-pecl-redis php81-pecl-smbclient php81-pecl-ssh2 php81-pecl-swoole php81-pecl-uploadprogress php81-pecl-uuid php81-pecl-vips php81-pecl-xdebug php81-pecl-xhprof php81-pecl-xhprof-assets php81-pecl-yaml php81-pecl-zstd php81-pgsql php81-phar php81-posix php81-pspell php81-session php81-shmop php81-simplexml php81-snmp php81-soap php81-sockets php81-sodium php81-sqlite3 php81-sysvmsg php81-sysvsem php81-sysvshm php81-tidy php81-tokenizer php81-xml php81-xmlreader php81-xmlwriter php81-xsl php81-zip " && export PHP_8_0_RUN_DEPS=" gnu-libiconv mariadb-connector-c php8 php8-bcmath php8-brotli php8-bz2 php8-calendar php8-common php8-ctype php8-curl php8-dba php8-dom php8-embed php8-enchant php8-exif php8-ffi php8-fileinfo php8-fpm php8-ftp php8-gd php8-gettext php8-gmp php8-iconv php8-imap php8-intl php8-ldap php8-litespeed php8-mbstring php8-mysqli php8-mysqlnd php8-odbc php8-opcache php8-openssl php8-pcntl php8-pdo php8-pdo_dblib php8-pdo_mysql php8-pdo_odbc php8-pdo_pgsql php8-pdo_sqlite php8-pear php8-pecl-amqp php8-pecl-apcu php8-pecl-ast php8-pecl-couchbase php8-pecl-event php8-pecl-igbinary php8-pecl-imagick php8-pecl-lzf php8-pecl-mailparse php8-pecl-maxminddb php8-pecl-mcrypt php8-pecl-memcache php8-pecl-memcached php8-pecl-mongodb php8-pecl-msgpack php8-pecl-oauth php8-pecl-protobuf php8-pecl-psr php8-pecl-rdkafka php8-pecl-redis php8-pecl-ssh2 php8-pecl-swoole php8-pecl-timezonedb php8-pecl-uploadprogress php8-pecl-uuid php8-pecl-vips php8-pecl-xdebug php8-pecl-xhprof php8-pecl-xhprof-assets php8-pecl-yaml php8-pecl-zstd php8-pgsql php8-phar php8-posix php8-pspell php8-session php8-shmop php8-simplexml php8-snmp php8-soap php8-sockets php8-sodium php8-sqlite3 php8-sysvmsg php8-sysvsem php8-sysvshm php8-tideways_xhprof php8-tidy php8-tokenizer php8-xml php8-xmlreader php8-xmlwriter php8-xsl php8-zip " && export PHP_7_4_RUN_DEPS=" mariadb-connector-c php7 php7-bcmath php7-brotli php7-bz2 php7-calendar php7-common php7-ctype php7-curl php7-dba php7-dom php7-embed php7-enchant php7-exif php7-ffi php7-fileinfo php7-fpm php7-ftp php7-gd php7-gettext php7-gmp php7-iconv php7-imap php7-intl php7-json php7-ldap php7-mbstring php7-mysqli php7-mysqlnd php7-odbc php7-opcache php7-openssl php7-pcntl php7-pdo php7-pdo_dblib php7-pdo_mysql php7-pdo_odbc php7-pdo_pgsql php7-pdo_sqlite php7-pear php7-pecl-amqp php7-pecl-apcu php7-pecl-ast php7-pecl-couchbase php7-pecl-event php7-pecl-gmagick php7-pecl-imagick php7-pecl-igbinary php7-pecl-lzf php7-pecl-mailparse php7-pecl-maxminddb php7-pecl-mcrypt php7-pecl-memcache php7-pecl-memcached php7-pecl-mongodb php7-pecl-msgpack php7-pecl-oauth php7-pecl-protobuf php7-pecl-psr php7-pecl-redis php7-pecl-ssh2 php7-pecl-timezonedb php7-pecl-uploadprogress php7-pecl-uuid php7-pecl-vips php7-pecl-xdebug php7-pecl-xhprof php7-pecl-xhprof-assets php7-pecl-yaml php7-pecl-zmq php7-pgsql php7-phalcon php7-phar php7-posix php7-pspell php7-session php7-shmop php7-simplexml php7-snmp php7-soap php7-sockets php7-sodium php7-sqlite3 php7-tidy php7-tokenizer php7-xml php7-xmlreader php7-xmlrpc php7-xmlwriter php7-xsl php7-zip " && export PHP_7_3_RUN_DEPS=" mariadb-connector-c php7 php7-bcmath php7-brotli php7-bz2 php7-calendar php7-common php7-ctype php7-curl php7-dba php7-dom php7-embed php7-enchant php7-exif php7-fileinfo php7-fpm php7-ftp php7-gd php7-gettext php7-gmp php7-iconv php7-imap php7-intl php7-json php7-ldap php7-litespeed php7-maxminddb php7-mbstring php7-mysqli php7-mysqlnd php7-odbc php7-opcache php7-openssl php7-pcntl php7-pdo php7-pdo_dblib php7-pdo_mysql php7-pdo_odbc php7-pdo_pgsql php7-pdo_sqlite php7-pear php7-pecl-amqp php7-pecl-apcu php7-pecl-ast php7-pecl-couchbase php7-pecl-event php7-pecl-gmagick php7-pecl-igbinary php7-pecl-imagick php7-pecl-lzf php7-pecl-mailparse php7-pecl-mcrypt php7-pecl-memcache php7-pecl-memcached php7-pecl-msgpack php7-pecl-oauth php7-pecl-protobuf php7-pecl-psr php7-pecl-redis php7-pecl-ssh2 php7-pecl-timezonedb php7-pecl-uploadprogress php7-pecl-uuid php7-pecl-vips php7-pecl-xdebug php7-pecl-xhprof php7-pecl-yaml php7-pecl-zmq php7-pgsql php7-phalcon php7-phar php7-posix php7-pspell php7-recode php7-session php7-shmop php7-simplexml php7-snmp php7-soap php7-sockets php7-sodium php7-sqlite3 php7-tidy php7-tokenizer php7-wddx php7-xml php7-xmlreader php7-xmlrpc php7-xmlwriter php7-xsl php7-zip " && export PHP_7_2_RUN_DEPS=" php7 php7-bcmath php7-bz2 php7-calendar php7-common php7-ctype php7-curl php7-dba php7-dom php7-embed php7-enchant php7-exif php7-fileinfo php7-fpm php7-ftp php7-gd php7-gettext php7-gmp php7-iconv php7-imap php7-intl php7-json php7-ldap php7-litespeed php7-mbstring php7-mysqli php7-mysqlnd php7-odbc php7-opcache php7-openssl php7-pcntl php7-pdo php7-pdo_dblib php7-pdo_mysql php7-pdo_odbc php7-pdo_pgsql php7-pdo_sqlite php7-pear php7-pear-auth_sasl php7-pear-auth_sasl2 php7-pear-mail_mime php7-pear-mdb2_driver_mysql php7-pear-mdb2_driver_pgsql php7-pear-net_sieve php7-pear-net_smtp php7-pear-net_socket php7-pecl-amqp php7-pecl-apcu php7-pecl-ast php7-pecl-couchbase php7-pecl-event php7-pecl-gmagick php7-pecl-igbinary php7-pecl-imagick php7-pecl-lzf php7-pecl-mailparse php7-pecl-mcrypt php7-pecl-memcached php7-pecl-mongodb php7-pecl-oauth php7-pecl-redis php7-pecl-timezonedb php7-pecl-xdebug php7-pecl-yaml php7-pecl-zmq php7-pgsql php7-phalcon php7-phar php7-posix php7-pspell php7-recode php7-session php7-shmop php7-simplexml php7-snmp php7-soap php7-sockets php7-sodium php7-sqlite3 php7-tidy php7-tokenizer php7-wddx php7-xml php7-xmlreader php7-xmlrpc php7-xmlwriter php7-xsl php7-zip " && export PHP_7_1_RUN_DEPS=" php7 php7-amqp php7-apcu php7-bcmath php7-bz2 php7-calendar php7-common php7-ctype php7-curl php7-dba php7-dom php7-embed php7-enchant php7-exif php7-fileinfo php7-fpm php7-ftp php7-gd php7-gettext php7-gmp php7-iconv php7-imagick php7-imap php7-intl php7-json php7-ldap php7-litespeed php7-mailparse php7-mbstring php7-mcrypt php7-memcached php7-mysqli php7-mysqlnd php7-oauth php7-odbc php7-opcache php7-openssl php7-pcntl php7-pdo php7-pdo_dblib php7-pdo_mysql php7-pdo_odbc php7-pdo_pgsql php7-pdo_sqlite php7-pear php7-pear-auth_sasl php7-pear-auth_sasl2 php7-pear-mail_mime php7-pear-mdb2_driver_mysql php7-pear-mdb2_driver_pgsql php7-pear-net_smtp php7-pear-net_socket php7-pgsql php7-phar php7-posix php7-pspell php7-recode php7-redis php7-session php7-shmop php7-simplexml php7-snmp php7-soap php7-sockets php7-sqlite3 php7-ssh2 php7-tidy php7-tokenizer php7-wddx php7-xdebug php7-xml php7-xmlreader php7-xmlrpc php7-xmlwriter php7-xsl php7-zip php7-zmq " && export PHP_7_0_RUN_DEPS=" php7 php7-apcu php7-bcmath php7-bz2 php7-calendar php7-common php7-ctype php7-curl php7-dba php7-dom php7-embed php7-enchant php7-exif php7-fpm php7-ftp php7-gd php7-gettext php7-gmp php7-iconv php7-imap php7-intl php7-json php7-ldap php7-litespeed php7-mbstring php7-mcrypt php7-mysqli php7-mysqlnd php7-odbc php7-opcache php7-openssl php7-pcntl php7-pdo php7-pdo_dblib php7-pdo_mysql php7-pdo_odbc php7-pdo_pgsql php7-pdo_sqlite php7-pear php7-pgsql php7-phar php7-posix php7-pspell php7-session php7-shmop php7-snmp php7-soap php7-sockets php7-sqlite3 php7-tidy php7-wddx php7-xdebug php7-xml php7-xmlreader php7-xmlrpc php7-xsl php7-zip php7-zlib " && export PHP_5_6_RUN_DEPS=" php5 php5-apcu php5-bcmath php5-bz2 php5-calendar php5-cli php5-common php5-ctype php5-curl php5-dba php5-dom php5-embed php5-enchant php5-exif php5-fpm php5-ftp php5-gd php5-gettext php5-gmp php5-iconv php5-imap php5-intl php5-json php5-ldap php5-mcrypt php5-mssql php5-mysql php5-mysqli php5-odbc php5-opcache php5-openssl php5-pcntl php5-pdo php5-pdo_dblib php5-pdo_mysql php5-pdo_odbc php5-pdo_pgsql php5-pdo_sqlite php5-pear php5-pgsql php5-phar php5-posix php5-pspell php5-shmop php5-snmp php5-soap php5-sockets php5-sqlite3 php5-wddx php5-xml php5-xmlreader php5-xmlrpc php5-xsl php5-zip " && source /assets/functions/00-container && set -x && package update && package upgrade && package install .php-build-deps build-base gpgme-dev php${php_folder}-dev && package install .php-run-deps ca-certificates git gnupg gpgme openssl mariadb-client postgresql-client $(printenv PHP_$(echo ${PHP_BASE} | sed 's|\.|_|g')_RUN_DEPS) && if [ -f "/etc/php${php_folder}/*magick*.ini" ]; then mv /etc/php${php_folder}/conf.d/*magick*.ini /tmp; fi; sed -i 's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php${php_folder}/php.ini && if [ -f "/usr/sbin/php-fpm${php_folder}" ] ; then ln -sf /usr/sbin/php-fpm${php_folder} /usr/sbin/php-fpm ; fi ; if [ -f "/usr/bin/php${php_folder}" ] ; then ln -sf /usr/bin/php${php_folder} /usr/sbin/php ; fi ; if [ -f "/usr/bin/pecl${php_folder}" ] ; then ln -sf /usr/bin/pecl${php_folder} /usr/sbin/pecl; fi ; rm -rf /etc/logrotate.d/php* && if [ "${PHP_BASE:0:1}" = "5" ] ; then echo "suhosin.executor.include.whitelist = phar" >> /etc/php${PHP_BASE:0:1}/php.ini ; fi; curl -sSLk https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer && if [ -f "/etc/php${php_folder}/*magick*.ini" ]; then mv /tmp/*magick.ini* /etc/php${php_folder}/conf.d/ ; fi ; if [ "${build_gnupg,,}" = "true" ] ; then pecl install gnupg ; echo "extension=gnupg.so" > /etc/php${php_folder}/conf.d/20-gnupg.ini ; fi ; mkdir -p /etc/php${php_folder}/mods-available/ && set +x && for module in /etc/php${php_folder}/conf.d/*.ini; do if [ ! -L "${module}" ] ; then if [ "$(echo $(basename $module) | grep -c '^[0-9][0-9].*')" = "0" ] ; then mv "${module}" "$(dirname ${module})/20_$(basename ${module})" ; module="$(dirname ${module})/20_$(basename ${module})"; fi ; if ! grep -w -i -q ";priority" "$module"; then echo ";priority=$(basename $module .ini | cut -d _ -f1)" >> $module ; mv "${module}" /etc/php${php_folder}/mods-available/$(basename ${module} .ini | cut -c 4-).ini; fi; fi; done; rm -rf /etc/php${php_folder}/conf.d/* && sed -i "s|;priority=00|;priority=10|g" /etc/php${php_folder}/mods-available/opcache.ini && php_env_plugins_enabled="$(set | sort | grep PHP_ENABLE_ | grep -i TRUE | cut -d _ -f 3 | cut -d = -f 1 | tr [A-Z] [a-z])" && for module in $php_env_plugins_enabled ; do if [ -f "/etc/php${php_folder}/mods-available/${module}.ini" ] ; then priority=$(cat /etc/php${php_folder}/mods-available/${module}.ini | grep ";priority" | cut -d = -f2) ; ln -sf "/etc/php${php_folder}/mods-available/${module}.ini" /etc/php${php_folder}/conf.d/${priority}-${module}.ini ; fi ; done ; if [ "${PHP_BASE:0:1}" != "8" ] ; then priority=$(cat /etc/php${PHP_BASE:0:1}/mods-available/json.ini | grep ";priority" | cut -d = -f2) ; ln -sf "/etc/php${PHP_BASE:0:1}/mods-available/json.ini" /etc/php${PHP_BASE:0:1}/conf.d/${priority}-json.ini ; fi ; set -x && package remove .php-build-deps && package cleanup && rm -rf /tmp/* /usr/src/* /var/log/* # buildkit
EXPOSE map[9000/tcp:{}]
COPY install / # buildkit
LABEL tiredofit.tiredofit/freescout.git_branch=main
LABEL tiredofit.tiredofit/freescout.git_changelog_version=1.17.88
LABEL org.opencontainers.image.source=https://github.com/tiredofit/docker-freescout
LABEL tiredofit.tiredofit/freescout.image_build_date=2024-10-04 15:56:34
LABEL tiredofit.tiredofit/freescout.git_committed_by=tiredofit
LABEL tiredofit.tiredofit/freescout.git_commit=f7c5ead3f15754f79688146d7b90061ad31d515d
LABEL tiredofit.tiredofit/freescout.git_repository=https://github.com/tiredofit/docker-freescout
LABEL maintainer=Dave Conroy (github.com/tiredofit)
ARG FREESCOUT_VERSION
ENV FREESCOUT_VERSION=1.8.154 FREESCOUT_REPO_URL=https://github.com/freescout-helpdesk/freescout NGINX_WEBROOT=/www/html NGINX_SITE_ENABLED=freescout PHP_CREATE_SAMPLE_PHP=FALSE PHP_ENABLE_CURL=TRUE PHP_ENABLE_FILEINFO=TRUE PHP_ENABLE_GNUPG=TRUE PHP_ENABLE_ICONV=TRUE PHP_ENABLE_IGBINARY=TRUE PHP_ENABLE_IMAP=TRUE PHP_ENABLE_INTL=TRUE PHP_ENABLE_LDAP=TRUE PHP_ENABLE_OPENSSL=TRUE PHP_ENABLE_PCNTL=TRUE PHP_ENABLE_PDO_PGSQL=TRUE PHP_ENABLE_SIMPLEXML=TRUE PHP_ENABLE_TOKENIZER=TRUE PHP_ENABLE_ZIP=TRUE IMAGE_NAME=tiredofit/freescout IMAGE_REPO_URL=https://github.com/tiredofit/docker-freescout/
ADD build-assets /build-assets # buildkit
RUN |1 FREESCOUT_VERSION=1.8.154 /bin/bash -c source /assets/functions/00-container && set -x && package update && package upgrade && package install .freescout-run-deps expect git gnu-libiconv sed && php-ext enable core && clone_git_repo ${FREESCOUT_REPO_URL} ${FREESCOUT_VERSION} /assets/install && mkdir -p vendor/natxet/cssmin/src && mkdir -p vendor/rap2hpoutre/laravel-log-viewer/src/controllers && if [ -d "/build-assets/src" ] ; then cp -Rp /build-assets/src/* /assets/install ; fi; if [ -d "/build-assets/scripts" ] ; then for script in /build-assets/scripts/*.sh; do echo "** Applying $script"; bash $script; done && \ ; fi ; if [ -d "/build-assets/custom-scripts" ] ; then mkdir -p /assets/custom-scripts ; cp -Rp /build-assets/custom-scripts/* /assets/custom-scripts ; fi; composer install --ignore-platform-reqs && php artisan freescout:build && rm -rf /assets/install/.env.example /assets/install/.env.travis && chown -R "${NGINX_USER}":"${NGINX_GROUP}" /assets/install && package cleanup && rm -rf /build-assets /root/.composer /var/tmp/* # buildkit
COPY install / # buildkit

Labels

Key Value
com.docker.compose.project freescout
com.docker.compose.service freescout
com.docker.compose.version 2.28.1
maintainer Dave Conroy (github.com/tiredofit)
org.opencontainers.image.source https://github.com/tiredofit/docker-freescout
tiredofit.tiredofit/alpine.git_changelog_version 7.10.15
tiredofit.tiredofit/alpine.git_commit 290907d413390ccecb2ac61c6869571139e40f8f
tiredofit.tiredofit/alpine.git_committed_by tiredofit
tiredofit.tiredofit/alpine.git_repository https://github.com/tiredofit/docker-alpine
tiredofit.tiredofit/alpine.git_tag refs/tags/7.10.15
tiredofit.tiredofit/alpine.image_build_date 2024-10-01 16:59:50
tiredofit.tiredofit/freescout.git_branch main
tiredofit.tiredofit/freescout.git_changelog_version 1.17.88
tiredofit.tiredofit/freescout.git_commit f7c5ead3f15754f79688146d7b90061ad31d515d
tiredofit.tiredofit/freescout.git_committed_by tiredofit
tiredofit.tiredofit/freescout.git_repository https://github.com/tiredofit/docker-freescout
tiredofit.tiredofit/freescout.image_build_date 2024-10-04 15:56:34
tiredofit.tiredofit/nginx-php-fpm.git_changelog_version 7.7.12
tiredofit.tiredofit/nginx-php-fpm.git_commit c2fde1e807064ecef5ad9540a648b03ba051c6f2
tiredofit.tiredofit/nginx-php-fpm.git_committed_by tiredofit
tiredofit.tiredofit/nginx-php-fpm.git_repository https://github.com/tiredofit/docker-nginx-php-fpm
tiredofit.tiredofit/nginx-php-fpm.git_tag refs/tags/7.7.12
tiredofit.tiredofit/nginx-php-fpm.image_build_date 2024-10-04 15:45:17
tiredofit.tiredofit/nginx.git_changelog_version 6.5.3
tiredofit.tiredofit/nginx.git_commit c540efede71ca4816dbf9bf76c603303afd3d0a0
tiredofit.tiredofit/nginx.git_committed_by tiredofit
tiredofit.tiredofit/nginx.git_repository https://github.com/tiredofit/docker-nginx
tiredofit.tiredofit/nginx.git_tag refs/tags/6.5.3
tiredofit.tiredofit/nginx.image_build_date 2024-10-02 17:08:38
Details
Container
2024-10-11 16:37:09 -04:00
25
OCI / Docker
linux/amd64
187 MiB
Versions (4) View all
db-production 2024-10-11
freescout-staging 2024-10-11
db-staging 2024-10-11