1.5.11-ol-7-r0 release

Update symfony to 1.5.11
This commit is contained in:
Bitnami Bot 2018-06-21 08:17:13 +00:00
parent 09d9f61703
commit 61c37b922a
6 changed files with 73 additions and 1 deletions

View File

@ -0,0 +1,23 @@
FROM bitnami/oraclelinux-extras:7-r13
LABEL maintainer "Bitnami <containers@bitnami.com>"
# Install required system packages and dependencies
RUN install_packages bzip2-libs cyrus-sasl-lib freetds freetype glibc gmp gnutls keyutils-libs krb5-libs libcom_err libcurl libffi libgcc libgcrypt libgpg-error libicu libidn libjpeg-turbo libmcrypt libpng libselinux libssh2 libstdc++ libtasn1 libtidy libxml2 libxslt ncurses-libs nettle nspr nss nss-softokn-freebl nss-util openldap openssl-libs p11-kit pcre postgresql-libs readline xz-libs zlib
RUN bitnami-pkg install php-7.1.18-2 --checksum 852a27db8227b8c426b6cbc1a3c67f2ae211d478cc64a21919cac8b3361ff7a8
RUN bitnami-pkg install mysql-client-10.1.34-0 --checksum 012f1f222898565b55f7d4522514c7c130d2bfe4c988754eed658ef6dafa980c
RUN bitnami-pkg install symfony-1.5.11-0 --checksum 2d086de2938e08ed47df60f1e003f44003c2b7bf813131b5c3ea3002ca82b99b
COPY rootfs /
ENV BITNAMI_APP_NAME="symfony" \
BITNAMI_IMAGE_VERSION="1.5.11-ol-7-r0" \
MARIADB_HOST="mariadb" \
MARIADB_PORT_NUMBER="3306" \
MARIADB_USER="root" \
PATH="/opt/bitnami/php/bin:/opt/bitnami/mysql/bin:/opt/bitnami/symfony/bin:$PATH" \
SYMFONY_PROJECT_NAME="myapp"
EXPOSE 8000
WORKDIR /app
ENTRYPOINT ["/app-entrypoint.sh"]
CMD ["/run.sh"]

View File

@ -0,0 +1,14 @@
version: '2'
services:
myapp:
image: 'bitnami/symfony:1-ol'
ports:
- '8000:8000'
volumes:
- '.:/app'
depends_on:
- mariadb
mariadb:
image: 'bitnami/mariadb:10.1-ol-7'
environment:
- ALLOW_EMPTY_PASSWORD=yes

View File

@ -0,0 +1,31 @@
#!/bin/bash -e
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
print_welcome_page
export PROJECT_DIRECTORY=/app/$SYMFONY_PROJECT_NAME
echo "Starting application ..."
if [ "$1" == "/run.sh" ]; then
# Create a Symfony app if not found
if [ ! -d $PROJECT_DIRECTORY ] ; then
log "Creating example Symfony application"
nami execute symfony createProject --databaseServerHost $MARIADB_HOST --databaseServerPort $MARIADB_PORT_NUMBER --databaseAdminUser $MARIADB_USER $SYMFONY_PROJECT_NAME | grep -v undefined
log "Symfony app created"
else
log "App already created"
fi
# Link Symfony app to the index
if [ ! -f $PROJECT_DIRECTORY/web/index.php ] ; then
sudo ln -s $PROJECT_DIRECTORY/web/app.php $PROJECT_DIRECTORY/web/index.php
fi
fi
echo "symfony successfully initialized"
exec tini -- "$@"

View File

@ -0,0 +1,3 @@
#!/bin/bash
php -S 0.0.0.0:8000 -t $PROJECT_DIRECTORY/web/

View File

@ -26,6 +26,7 @@ $ docker-compose up
## Supported tags and respective `Dockerfile` links
* [`1`, `1.5.11-r46`, `latest` (1/Dockerfile)](https://github.com/bitnami/bitnami-docker-symfony/blob/1.5.11-r46/1/Dockerfile)
* [`1-ol-7`, `1.5.11-ol-7-r0` (1/ol-7/Dockerfile)](https://github.com/bitnami/bitnami-docker-symfony/blob/1.5.11-ol-7-r0/1/ol-7/Dockerfile)
Subscribe to project updates by watching the [bitnami/symfony GitHub repo](https://github.com/bitnami/bitnami-docker-symfony).

View File

@ -7,7 +7,7 @@ jobs:
environment:
RELEASE_SERIES_LIST: "1"
LATEST_STABLE: "1"
DISTRIBUTIONS_LIST: "debian-8"
DISTRIBUTIONS_LIST: "debian-8,ol-7"
IMAGE_NAME: symfony
DOCKER_PROJECT: bitnami
QUAY_PROJECT: bitnami