mirror of
https://github.com/bitnami/containers.git
synced 2026-03-02 08:04:33 +08:00
Removed Debian 8 from root version folders
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
FROM bitnami/minideb-extras:jessie-r107
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages libbz2-1.0 libc6 libcomerr2 libcurl3 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 libpng12-0 libpq5 libreadline6 librtmp1 libsasl2-2 libssh2-1 libssl1.0.0 libstdc++6 libsybdb5 libtasn1-6 libtidy-0.99-0 libtinfo5 libxml2 libxslt1.1 zlib1g
|
||||
RUN bitnami-pkg install php-7.1.19-3 --checksum 6abeece779f39fadefe611cdd711dceee3448fb52211d7b5e0b1b5eeb0bfcbf6
|
||||
RUN bitnami-pkg install mysql-client-10.1.34-0 --checksum 2954d9390cb8b91dc924beacc179ed03050f6c5cb7ad328010cdbde1ab05c1e9
|
||||
RUN bitnami-pkg install codeigniter-3.1.9-2 --checksum fd183437da911fe47f17cb6b1d742fbcb4f629654b4838bcd5569f3e083a7239
|
||||
|
||||
COPY rootfs /
|
||||
ENV BITNAMI_APP_NAME="codeigniter" \
|
||||
BITNAMI_IMAGE_VERSION="3.1.9-debian-8-r19" \
|
||||
CODEIGNITER_PROJECT_NAME="myapp" \
|
||||
MARIADB_HOST="mariadb" \
|
||||
MARIADB_PORT_NUMBER="3306" \
|
||||
MARIADB_USER="root" \
|
||||
PATH="/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/mysql/bin:/opt/bitnami/codeigniter/bin:$PATH"
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["/app-entrypoint.sh"]
|
||||
CMD ["php","-S","0.0.0.0:8000"]
|
||||
@@ -1,14 +0,0 @@
|
||||
version: '2'
|
||||
services:
|
||||
myapp:
|
||||
image: 'bitnami/codeigniter:3'
|
||||
ports:
|
||||
- '8000:8000'
|
||||
volumes:
|
||||
- '.:/app'
|
||||
depends_on:
|
||||
- mariadb
|
||||
mariadb:
|
||||
image: 'bitnami/mariadb:latest'
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
@@ -1,28 +0,0 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
. /opt/bitnami/base/functions
|
||||
. /opt/bitnami/base/helpers
|
||||
|
||||
print_welcome_page
|
||||
|
||||
PROJECT_DIRECTORY=/app/$CODEIGNITER_PROJECT_NAME
|
||||
DEPLOY="$@"
|
||||
|
||||
echo "Starting application ..."
|
||||
|
||||
if [ "$1" == "php" -a "$2" == "-S" ] ; then
|
||||
if [ ! -d $PROJECT_DIRECTORY ] ; then
|
||||
log "Creating example Codeigniter application"
|
||||
nami execute codeigniter createProject --databaseServerHost $MARIADB_HOST --databaseServerPort $MARIADB_PORT_NUMBER --databaseAdminUser $MARIADB_USER $CODEIGNITER_PROJECT_NAME | grep -v undefined
|
||||
log "Codeigniter app created"
|
||||
else
|
||||
log "App already created"
|
||||
cd $PROJECT_DIRECTORY
|
||||
fi
|
||||
DEPLOY="$@ -t $PROJECT_DIRECTORY"
|
||||
fi
|
||||
|
||||
exec tini -- $DEPLOY
|
||||
|
||||
|
||||
exec tini -- "$@"
|
||||
Reference in New Issue
Block a user