parent
142bd2acb1
commit
0405156e7b
|
|
@ -1,38 +1,33 @@
|
|||
FROM bitnami/minideb-extras:jessie-r14
|
||||
|
||||
MAINTAINER Bitnami <containers@bitnami.com>
|
||||
|
||||
ENV BITNAMI_APP_NAME=owncloud \
|
||||
BITNAMI_IMAGE_VERSION=9.1.5-r1 \
|
||||
PATH=/opt/bitnami/php/bin:/opt/bitnami/mysql/bin/:$PATH
|
||||
ENV APACHE_HTTPS_PORT="443" \
|
||||
APACHE_HTTP_PORT="80" \
|
||||
BITNAMI_APP_NAME="owncloud" \
|
||||
BITNAMI_IMAGE_VERSION="9.1.5-r2" \
|
||||
MARIADB_HOST="mariadb" \
|
||||
MARIADB_PASSWORD="" \
|
||||
MARIADB_PORT="3306" \
|
||||
MARIADB_USER="root" \
|
||||
OWNCLOUD_EMAIL="user@example.com" \
|
||||
OWNCLOUD_HOST="" \
|
||||
OWNCLOUD_PASSWORD="bitnami" \
|
||||
OWNCLOUD_USERNAME="user" \
|
||||
PATH="/opt/bitnami/apache/bin:/opt/bitnami/php/bin:/opt/bitnami/mysql/bin:$PATH"
|
||||
|
||||
# Required system packages
|
||||
RUN install_packages libc6 zlib1g libxslt1.1 libtidy-0.99-0 libreadline6 libncurses5 libtinfo5 libmcrypt4 libldap-2.4-2 libstdc++6 libgmp10 libpng12-0 libjpeg62-turbo libbz2-1.0 libxml2 libssl1.0.0 libcurl3 libfreetype6 libicu52 libgcc1 libgcrypt20 libsasl2-2 libgnutls-deb0-28 liblzma5 libidn11 librtmp1 libssh2-1 libgssapi-krb5-2 libkrb5-3 libk5crypto3 libcomerr2 libgpg-error0 libp11-kit0 libtasn1-6 libnettle4 libhogweed2 libkrb5support0 libkeyutils1 libffi6 libsybdb5 libpq5 libaprutil1 libapr1 libuuid1 libexpat1 libpcre3
|
||||
|
||||
# Additional modules required
|
||||
# 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.25-0 --checksum 8b46af7d737772d7d301da8b30a2770b7e549674e33b8a5b07480f53c39f5c3f
|
||||
RUN bitnami-pkg unpack php-5.6.30-3 --checksum af6c238825d4394fc6352c5ad48c1e6423e21520df927097dab592f0d4ad4662
|
||||
RUN bitnami-pkg install libphp-5.6.30-1 --checksum a62cad2320fa2d141309e75663aed3d1bd82626d51b784678d18ec3f985d83bf
|
||||
RUN bitnami-pkg install mysql-client-10.1.22-3 --checksum 9e881a7c404f658c93abd665ecd1372f61a591d784e6456c64c0129358a7ff1a
|
||||
|
||||
# Install owncloud
|
||||
RUN bitnami-pkg install libphp-5.6.30-1 --checksum a62cad2320fa2d141309e75663aed3d1bd82626d51b784678d18ec3f985d83bf
|
||||
RUN bitnami-pkg unpack owncloud-9.1.5-0 --checksum 63c2d1c4a5fe3f170b2ac27cdf4679b3563000e0898f21c2f12da1ba910aaac4
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
ENV APACHE_HTTP_PORT="80" \
|
||||
APACHE_HTTPS_PORT="443" \
|
||||
OWNCLOUD_USERNAME="user" \
|
||||
OWNCLOUD_PASSWORD="bitnami" \
|
||||
OWNCLOUD_EMAIL="user@example.com" \
|
||||
MARIADB_USER="root" \
|
||||
MARIADB_HOST="mariadb" \
|
||||
MARIADB_PORT="3306"
|
||||
|
||||
VOLUME ["/bitnami/owncloud", "/bitnami/apache", "/bitnami/php"]
|
||||
VOLUME ["/bitnami/apache","/bitnami/owncloud","/bitnami/php"]
|
||||
|
||||
EXPOSE 80 443
|
||||
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
|
||||
CMD ["nami", "start", "--foreground", "apache"]
|
||||
CMD ["nami","start","--foreground","apache"]
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
|
|
@ -7,7 +8,7 @@ check_for_updates &
|
|||
|
||||
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/init.sh" ]]; then
|
||||
nami_initialize apache php owncloud
|
||||
info "Starting owncloud..."
|
||||
info "Starting owncloud... "
|
||||
fi
|
||||
|
||||
exec tini -- "$@"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"username": "{{$global.env.OWNCLOUD_USERNAME}}",
|
||||
"password": "{{$global.env.OWNCLOUD_PASSWORD}}",
|
||||
"databaseAdminPassword": "{{$global.env.MARIADB_PASSWORD}}",
|
||||
"databaseAdminUser": "{{$global.env.MARIADB_USER}}",
|
||||
"databaseServerHost": "{{$global.env.MARIADB_HOST}}",
|
||||
"databaseServerPort": "{{$global.env.MARIADB_PORT}}",
|
||||
"email": "{{$global.env.OWNCLOUD_EMAIL}}",
|
||||
"host": "{{$global.env.OWNCLOUD_HOST}}",
|
||||
"databaseAdminUser": "{{$global.env.MARIADB_USER}}",
|
||||
"databaseAdminPassword": "{{$global.env.MARIADB_PASSWORD}}",
|
||||
"databaseServerHost": "{{$global.env.MARIADB_HOST}}",
|
||||
"databaseServerPort": "{{$global.env.MARIADB_PORT}}"
|
||||
"password": "{{$global.env.OWNCLOUD_PASSWORD}}",
|
||||
"username": "{{$global.env.OWNCLOUD_USERNAME}}"
|
||||
}
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
[](https://circleci.com/gh/bitnami/bitnami-docker-owncloud/tree/master)
|
||||
[](https://hub.docker.com/r/bitnami/owncloud/)
|
||||
[](http://slack.oss.bitnami.com)
|
||||
|
||||
# What is ownCloud?
|
||||
|
||||
|
|
@ -267,12 +266,6 @@ be sure to include the following information in your issue:
|
|||
- The command you used to run the container, and any relevant output you saw (masking any sensitive
|
||||
information)
|
||||
|
||||
# Community
|
||||
|
||||
Most real time communication happens in the `#containers` channel at [bitnami-oss.slack.com](http://bitnami-oss.slack.com); you can sign up at [slack.oss.bitnami.com](http://slack.oss.bitnami.com).
|
||||
|
||||
Discussions are archived at [bitnami-oss.slackarchive.io](https://bitnami-oss.slackarchive.io).
|
||||
|
||||
# License
|
||||
|
||||
Copyright 2016 Bitnami
|
||||
|
|
|
|||
Loading…
Reference in New Issue