1.19.0-debian-10-r8 release

This commit is contained in:
Bitnami Bot 2020-06-25 07:09:29 +00:00
parent 3b10032614
commit e0ed8781f5
3 changed files with 22 additions and 6 deletions

View File

@ -20,7 +20,7 @@ RUN ln -sf /dev/stderr /opt/bitnami/nginx/logs/error.log
COPY rootfs /
RUN /opt/bitnami/scripts/nginx/postunpack.sh
ENV BITNAMI_APP_NAME="nginx" \
BITNAMI_IMAGE_VERSION="1.19.0-debian-10-r7" \
BITNAMI_IMAGE_VERSION="1.19.0-debian-10-r8" \
NGINX_ENABLE_CUSTOM_PORTS="no" \
NGINX_HTTPS_PORT_NUMBER="" \
NGINX_HTTP_PORT_NUMBER="" \

View File

@ -102,12 +102,28 @@ get_total_memory() {
# Globals:
# None
# Arguments:
# $1 - memory size (optional)
# None
# Flags:
# --memory - memory size (optional)
# Returns:
# Detected instance size
#########################
get_machine_size() {
local memory="${1:-}"
local memory=""
# Validate arguments
while [[ "$#" -gt 0 ]]; do
case "$1" in
--memory)
shift
memory="${1:?missing memory}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
esac
shift
done
if [[ -z "$memory" ]]; then
debug "Memory was not specified, detecting available memory automatically"
memory="$(get_total_memory)"
@ -152,10 +168,10 @@ get_supported_machine_sizes() {
#########################
convert_to_mb() {
local amount="${1:-}"
if [[ $amount =~ ^([0-9]+)(M|G) ]]; then
if [[ $amount =~ ^([0-9]+)(m|M|g|G) ]]; then
size="${BASH_REMATCH[1]}"
unit="${BASH_REMATCH[2]}"
if [[ "$unit" = "G" ]]; then
if [[ "$unit" = "g" || "$unit" = "G" ]]; then
amount="$((size * 1024))"
else
amount="$size"

View File

@ -44,7 +44,7 @@ Non-root container images add an extra layer of security and are generally recom
Learn more about the Bitnami tagging policy and the difference between rolling tags and immutable tags [in our documentation page](https://docs.bitnami.com/tutorials/understand-rolling-tags-containers/).
* [`1.19-debian-10`, `1.19.0-debian-10-r7`, `1.19`, `1.19.0`, `latest` (1.19/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.19.0-debian-10-r7/1.19/debian-10/Dockerfile)
* [`1.19-debian-10`, `1.19.0-debian-10-r8`, `1.19`, `1.19.0`, `latest` (1.19/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.19.0-debian-10-r8/1.19/debian-10/Dockerfile)
* [`1.18-debian-10`, `1.18.0-debian-10-r55`, `1.18`, `1.18.0` (1.18/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-nginx/blob/1.18.0-debian-10-r55/1.18/debian-10/Dockerfile)
# Get this image