Skip to content

Commit

Permalink
3.0.0-0-r0 release
Browse files Browse the repository at this point in the history
Update opencart to 3.0.0-0
  • Loading branch information
Bitnami Bot committed Jul 4, 2017
1 parent 8be87b0 commit e1697d3
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 2 deletions.
42 changes: 42 additions & 0 deletions 3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
FROM bitnami/minideb-extras:jessie-r19
LABEL maintainer "Bitnami <[email protected]>"



# 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-3.0.0-0-0 --checksum 0e81a830653e401e1c9c6cafb3deb4b9790e10a06a4d11ecd01ed16913374d3a

COPY rootfs /

ENV APACHE_HTTPS_PORT_NUMBER="443" \
APACHE_HTTP_PORT_NUMBER="80" \
BITNAMI_APP_NAME="opencart" \
BITNAMI_IMAGE_VERSION="3.0.0-0-r0" \
MARIADB_HOST="mariadb" \
MARIADB_PASSWORD="" \
MARIADB_PORT_NUMBER="3306" \
MARIADB_USER="root" \
OPENCART_EMAIL="[email protected]" \
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"]
32 changes: 32 additions & 0 deletions 3/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: '2'
services:
mariadb:
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- 'mariadb_data:/bitnami/mariadb'
opencart:
image: 'bitnami/opencart:3'
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
4 changes: 4 additions & 0 deletions 3/rootfs/apache-inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"httpPort": "{{$global.env.APACHE_HTTP_PORT_NUMBER}}",
"httpsPort": "{{$global.env.APACHE_HTTPS_PORT_NUMBER}}"
}
14 changes: 14 additions & 0 deletions 3/rootfs/app-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/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 -- "$@"
15 changes: 15 additions & 0 deletions 3/rootfs/opencart-inputs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"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}}"
}
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ machine:
services:
- docker
environment:
RELEASE_SERIES_LIST: 2
LATEST_STABLE: 2
RELEASE_SERIES_LIST: 3
LATEST_STABLE: 3
IMAGE_NAME: opencart
CHART_NAME: opencart
CHART_REPO: https://github.com/kubernetes/charts
Expand Down

0 comments on commit e1697d3

Please sign in to comment.