18.0.0-debian-10-r0 release
This commit is contained in:
parent
da12ca4c67
commit
e197c68a83
|
|
@ -0,0 +1,32 @@
|
|||
FROM docker.io/bitnami/minideb:buster
|
||||
LABEL maintainer "Bitnami <containers@bitnami.com>"
|
||||
|
||||
ENV OS_ARCH="amd64" \
|
||||
OS_FLAVOUR="debian-10" \
|
||||
OS_NAME="linux"
|
||||
|
||||
COPY prebuildfs /
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages build-essential ca-certificates curl git gzip libbz2-1.0 libc6 libffi6 libgcc1 liblzma5 libncursesw6 libreadline7 libsqlite3-0 libsqlite3-dev libssl-dev libssl1.1 libstdc++6 libtinfo6 pkg-config procps tar unzip wget zlib1g
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/python-3.8.13-3-linux-amd64-debian-10.tar.gz && \
|
||||
echo "a328c8fb3db9e60d3aa19eb7ca31de5da372affcb3d7c0d73610b4a19b634f94 /tmp/bitnami/pkg/cache/python-3.8.13-3-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/python-3.8.13-3-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/python-3.8.13-3-linux-amd64-debian-10.tar.gz
|
||||
RUN wget -nc -P /tmp/bitnami/pkg/cache/ https://downloads.bitnami.com/files/stacksmith/node-18.0.0-0-linux-amd64-debian-10.tar.gz && \
|
||||
echo "373ca6b1a5d9de71dc35810409310ad0d61ebd0958db89c7404da31fce7e02de /tmp/bitnami/pkg/cache/node-18.0.0-0-linux-amd64-debian-10.tar.gz" | sha256sum -c - && \
|
||||
tar -zxf /tmp/bitnami/pkg/cache/node-18.0.0-0-linux-amd64-debian-10.tar.gz -P --transform 's|^[^/]*/files|/opt/bitnami|' --wildcards '*/files' && \
|
||||
rm -rf /tmp/bitnami/pkg/cache/node-18.0.0-0-linux-amd64-debian-10.tar.gz
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN sed -i 's/^PASS_MAX_DAYS.*/PASS_MAX_DAYS 90/' /etc/login.defs && \
|
||||
sed -i 's/^PASS_MIN_DAYS.*/PASS_MIN_DAYS 0/' /etc/login.defs && \
|
||||
sed -i 's/sha512/sha512 minlen=8/' /etc/pam.d/common-password
|
||||
|
||||
ENV APP_VERSION="18.0.0" \
|
||||
BITNAMI_APP_NAME="node" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:$PATH"
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
WORKDIR /app
|
||||
CMD [ "node" ]
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
version: '2'
|
||||
|
||||
services:
|
||||
node:
|
||||
tty: true # Enables debugging capabilities when attached to this container.
|
||||
image: docker.io/bitnami/node:18
|
||||
# command: sh -c 'npm install && npm start'
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- .:/app
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"node": {
|
||||
"arch": "amd64",
|
||||
"digest": "373ca6b1a5d9de71dc35810409310ad0d61ebd0958db89c7404da31fce7e02de",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "18.0.0-0"
|
||||
},
|
||||
"python": {
|
||||
"arch": "amd64",
|
||||
"digest": "a328c8fb3db9e60d3aa19eb7ca31de5da372affcb3d7c0d73610b4a19b634f94",
|
||||
"distro": "debian-10",
|
||||
"type": "NAMI",
|
||||
"version": "3.8.13-3"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
Bitnami containers ship with software bundles. You can find the licenses under:
|
||||
/opt/bitnami/nami/COPYING
|
||||
/opt/bitnami/[name-of-bundle]/licenses/[bundle-version].txt
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
set -u
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
n=0
|
||||
max=2
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get update -qq &&
|
||||
apt-get install -y --no-install-recommends "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
rm -r /var/lib/apt/lists /var/cache/apt/archives
|
||||
|
|
@ -41,6 +41,7 @@ Bitnami containers can be used with [Kubeapps](https://kubeapps.com/) for deploy
|
|||
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/).
|
||||
|
||||
|
||||
* [`18`, `18-debian-10`, `18.0.0`, `18.0.0-debian-10-r0` (18/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/18.0.0-debian-10-r0/18/debian-10/Dockerfile)
|
||||
* [`17`, `17-debian-10`, `17.9.0`, `17.9.0-debian-10-r17`, `latest` (17/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/17.9.0-debian-10-r17/17/debian-10/Dockerfile)
|
||||
* [`16`, `16-debian-10`, `16.14.2`, `16.14.2-debian-10-r39` (16/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/16.14.2-debian-10-r39/16/debian-10/Dockerfile)
|
||||
* [`14`, `14-debian-10`, `14.19.1`, `14.19.1-debian-10-r37` (14/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-node/blob/14.19.1-debian-10-r37/14/debian-10/Dockerfile)
|
||||
|
|
|
|||
Loading…
Reference in New Issue