Merge pull request #59 from bitnami/remove_debian_8

Removed Debian 8 from root version folders
This commit is contained in:
Carlos Rodríguez Hernández 2018-09-21 10:49:56 +02:00 committed by GitHub
commit 7dd6383142
5 changed files with 0 additions and 75 deletions

View File

@ -1,23 +0,0 @@
FROM bitnami/minideb-extras:jessie-r107
LABEL maintainer "Bitnami <containers@bitnami.com>"
ENV BITNAMI_PKG_CHMOD="-R g+rwX" \
HOME="/"
# Install required system packages and dependencies
RUN install_packages libc6 libevent-2.0-5 libsasl2-2 libsasl2-modules sasl2-bin
RUN bitnami-pkg unpack memcached-1.5.9-0 --checksum 424a286deec8e850b16c600d783bd16245236b107e1e8e889fe937c2393fdba6
COPY rootfs /
ENV BITNAMI_APP_NAME="memcached" \
BITNAMI_IMAGE_VERSION="1.5.9-debian-8-r10" \
MEMCACHED_CACHE_SIZE="64" \
MEMCACHED_PASSWORD="" \
MEMCACHED_USERNAME="root" \
PATH="/opt/bitnami/memcached/bin:$PATH"
EXPOSE 11211
USER 1001
ENTRYPOINT ["/app-entrypoint.sh"]
CMD ["/run.sh"]

View File

@ -1,7 +0,0 @@
version: '2'
services:
memcached:
image: 'bitnami/memcached:1'
ports:
- '11211:11211'

View File

@ -1,13 +0,0 @@
#!/bin/bash -e
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
print_welcome_page
if [[ "$1" == "nami" && "$2" == "start" ]] || [[ "$1" == "/run.sh" ]]; then
nami_initialize memcached
info "Starting memcached... "
fi
exec tini -- "$@"

View File

@ -1,5 +0,0 @@
{
"cacheSize": "{{$global.env.MEMCACHED_CACHE_SIZE}}",
"password": "{{$global.env.MEMCACHED_PASSWORD}}",
"username": "{{$global.env.MEMCACHED_USERNAME}}"
}

View File

@ -1,27 +0,0 @@
#!/bin/bash
. /opt/bitnami/base/functions
. /opt/bitnami/base/helpers
USER=memcached
DAEMON=memcached
EXEC=$(which $DAEMON)
LOGFILE="/opt/bitnami/memcached/logs/memcached.log"
PIDFILE="/opt/bitnami/memcached/tmp/memcached.pid"
CONFDIR="/opt/bitnami/memcached/conf/"
EXTRA_OPTIONS=" -m ${MEMCACHED_CACHE_SIZE:-64}"
# configure command line flag and env vars for authentication
if [[ -n $MEMCACHED_PASSWORD ]]; then
EXTRA_OPTIONS+=" -S"
export SASL_CONF_PATH="${CONFDIR}"
fi
ARGS="-p 11211 -P ${PIDFILE} -u memcached -v ${EXTRA_OPTIONS} > ${LOGFILE} 2>&1"
# If container is started as `root` user
if [ $EUID -eq 0 ]; then
exec gosu ${USER} ${EXEC} ${ARGS}
else
exec ${EXEC} ${ARGS}
fi