mirror of
https://github.com/bitnami/containers.git
synced 2026-02-24 07:07:37 +08:00
Delete folder with 2.X versions of opencart
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
FROM bitnami/minideb-extras:jessie-r19
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages libapr1 libaprutil1 libbz2-1.0 libc6 libcomerr2 libcurl3 libexpat1 libffi6 libfreetype6 libgcc1 libgcrypt20 libgmp10 libgnutls-deb0-28 libgpg-error0 libgssapi-krb5-2 libhogweed2 libicu52 libidn11 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 liblzma5 libmcrypt4 libncurses5 libnettle4 libp11-kit0 libpcre3 libpng12-0 libpq5 libreadline6 librtmp1 libsasl2-2 libssh2-1 libssl1.0.0 libstdc++6 libsybdb5 libtasn1-6 libtidy-0.99-0 libtinfo5 libuuid1 libxml2 libxslt1.1 zlib1g
|
||||
RUN bitnami-pkg unpack apache-2.4.26-0 --checksum 2d01547a273e715388bae110707a41f458b5092193d31e6b726b5527a56a1eac
|
||||
RUN bitnami-pkg unpack php-5.6.30-3 --checksum af6c238825d4394fc6352c5ad48c1e6423e21520df927097dab592f0d4ad4662
|
||||
RUN bitnami-pkg install mysql-client-10.1.24-0 --checksum 3ac33998eefe09a8013036d555f2a8265fc446a707e8d61c63f8621f4a3e5dae
|
||||
RUN bitnami-pkg install libphp-5.6.30-1 --checksum a62cad2320fa2d141309e75663aed3d1bd82626d51b784678d18ec3f985d83bf
|
||||
RUN bitnami-pkg unpack opencart-2.3.0-2-0 --checksum 80db392bd6b01aa084e582e25b140aae7cb12b6f630bf9cc698ab01e78554c4b
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
ENV APACHE_HTTPS_PORT_NUMBER="443" \
|
||||
APACHE_HTTP_PORT_NUMBER="80" \
|
||||
BITNAMI_APP_NAME="opencart" \
|
||||
BITNAMI_IMAGE_VERSION="2.3.0-2-r0" \
|
||||
MARIADB_HOST="mariadb" \
|
||||
MARIADB_PASSWORD="" \
|
||||
MARIADB_PORT_NUMBER="3306" \
|
||||
MARIADB_USER="root" \
|
||||
OPENCART_EMAIL="user@example.com" \
|
||||
OPENCART_HOST="127.0.0.1" \
|
||||
OPENCART_PASSWORD="bitnami1" \
|
||||
OPENCART_USERNAME="user" \
|
||||
PATH="/opt/bitnami/apache/bin:/opt/bitnami/php/bin:/opt/bitnami/mysql/bin:$PATH" \
|
||||
SMTP_HOST="" \
|
||||
SMTP_PASSWORD="" \
|
||||
SMTP_PORT="" \
|
||||
SMTP_PROTOCOL="" \
|
||||
SMTP_USER=""
|
||||
|
||||
|
||||
|
||||
VOLUME ["/bitnami/apache","/bitnami/opencart","/bitnami/php"]
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["nami","start","--foreground","apache"]
|
||||
@@ -1,32 +0,0 @@
|
||||
version: '2'
|
||||
services:
|
||||
mariadb:
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
volumes:
|
||||
- 'mariadb_data:/bitnami/mariadb'
|
||||
opencart:
|
||||
image: 'bitnami/opencart:2'
|
||||
labels:
|
||||
kompose.service.type: nodeport
|
||||
ports:
|
||||
- '80:80'
|
||||
- '443:443'
|
||||
volumes:
|
||||
- 'opencart_data:/bitnami/opencart'
|
||||
- 'apache_data:/bitnami/apache'
|
||||
- 'php_data:/bitnami/php'
|
||||
depends_on:
|
||||
- mariadb
|
||||
environment:
|
||||
- OPENCART_HOST=localhost
|
||||
volumes:
|
||||
mariadb_data:
|
||||
driver: local
|
||||
opencart_data:
|
||||
driver: local
|
||||
apache_data:
|
||||
driver: local
|
||||
php_data:
|
||||
driver: local
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"httpPort": "{{$global.env.APACHE_HTTP_PORT_NUMBER}}",
|
||||
"httpsPort": "{{$global.env.APACHE_HTTPS_PORT_NUMBER}}"
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
check_for_updates &
|
||||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
nami_initialize apache php opencart
|
||||
info "Starting opencart... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"databaseAdminPassword": "{{$global.env.MARIADB_PASSWORD}}",
|
||||
"databaseAdminUser": "{{$global.env.MARIADB_USER}}",
|
||||
"databaseServerHost": "{{$global.env.MARIADB_HOST}}",
|
||||
"databaseServerPort": "{{$global.env.MARIADB_PORT_NUMBER}}",
|
||||
"email": "{{$global.env.OPENCART_EMAIL}}",
|
||||
"host": "{{$global.env.OPENCART_HOST}}",
|
||||
"password": "{{$global.env.OPENCART_PASSWORD}}",
|
||||
"smtpHost": "{{$global.env.SMTP_HOST}}",
|
||||
"smtpPassword": "{{$global.env.SMTP_PASSWORD}}",
|
||||
"smtpPort": "{{$global.env.SMTP_PORT}}",
|
||||
"smtpProtocol": "{{$global.env.SMTP_PROTOCOL}}",
|
||||
"smtpUser": "{{$global.env.SMTP_USER}}",
|
||||
"username": "{{$global.env.OPENCART_USERNAME}}"
|
||||
}
|
||||
Reference in New Issue
Block a user