* Debian Bullseye * New tech version: Node.js 14.18.1 Node.js 15.14.0 Node.js 16.13.0 Node.js 17.1.0 Python 3.9.7 Python 3.10.0 PHP 7.4.23 PHP 7.4.26 PHP 8.0.13 Ruby 2.7.4 Ruby 3.0.2 Deno 1.16.2 Requested ed25519 support included in dropbear.
This commit is contained in:
parent
631877c1fd
commit
e8fbeeba3c
13
Dockerfile
13
Dockerfile
@ -1,15 +1,12 @@
|
|||||||
FROM debian:buster
|
FROM debian:11
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget gpg
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget gpg
|
||||||
|
|
||||||
RUN echo "deb http://deb.debian.org/debian buster main contrib non-free" > /etc/apt/sources.list && \
|
RUN echo "deb http://deb.debian.org/debian/ bullseye main contrib non-free" > /etc/apt/sources.list && \
|
||||||
echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list && \
|
echo "deb http://security.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list && \
|
||||||
echo "deb http://deb.debian.org/debian buster-updates main contrib non-free" >> /etc/apt/sources.list
|
echo "deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free" >> /etc/apt/sources.list
|
||||||
|
|
||||||
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
|
|
||||||
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales libffi-dev \
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y locales libffi-dev \
|
||||||
libssl-dev default-libmysqlclient-dev ca-certificates libpq-dev libjpeg62 libjpeg-dev \
|
libssl-dev default-libmysqlclient-dev ca-certificates libpq-dev libjpeg62 libjpeg-dev \
|
||||||
@ -17,7 +14,7 @@ libpng-dev libpng-dev build-essential git mercurial build-essential \
|
|||||||
libbz2-dev libsqlite3-dev libreadline-dev zlib1g-dev libncurses5-dev \
|
libbz2-dev libsqlite3-dev libreadline-dev zlib1g-dev libncurses5-dev \
|
||||||
libgdbm-dev libgd-dev cron git subversion vim nano mc htop procps \
|
libgdbm-dev libgd-dev cron git subversion vim nano mc htop procps \
|
||||||
dropbear gettext wget redis-server memcached supervisor curl ssh \
|
dropbear gettext wget redis-server memcached supervisor curl ssh \
|
||||||
mariadb-client postgresql-client-12 postgresql-12-postgis-3-scripts bind9-host dnsutils nginx \
|
mariadb-client postgresql-client-13 postgresql-13-postgis-3-scripts bind9-host dnsutils nginx \
|
||||||
libxml2-dev libxslt1-dev openssh-sftp-server links2 lynx \
|
libxml2-dev libxslt1-dev openssh-sftp-server links2 lynx \
|
||||||
imagemagick libmagick++-6.q16-dev libmagick++-6.q16hdri-dev libmagickwand-dev ncdu libsodium-dev \
|
imagemagick libmagick++-6.q16-dev libmagick++-6.q16hdri-dev libmagickwand-dev ncdu libsodium-dev \
|
||||||
python3 python3-pip python3-virtualenv \
|
python3 python3-pip python3-virtualenv \
|
||||||
|
6
Makefile
6
Makefile
@ -1,11 +1,11 @@
|
|||||||
REPO=harbor.hq.rosti.cz/rosti/runtime
|
REPO=harbor.hq.rosti.cz/rosti/runtime
|
||||||
DOCKER=docker
|
DOCKER=docker
|
||||||
VERSION=2021.11-1
|
VERSION=2022.01-1
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(DOCKER) pull debian:buster
|
$(DOCKER) pull debian:11
|
||||||
$(DOCKER) build -t ${REPO}:dev .
|
$(DOCKER) build -t ${REPO}:dev .
|
||||||
$(DOCKER) tag ${REPO}:dev ${REPO}:$(VERSION)
|
$(DOCKER) tag ${REPO}:dev ${REPO}:$(VERSION)
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ test:
|
|||||||
DOCKER=$(DOCKER) fish ./tests2.fish
|
DOCKER=$(DOCKER) fish ./tests2.fish
|
||||||
|
|
||||||
squashed:
|
squashed:
|
||||||
$(DOCKER) pull debian:buster
|
$(DOCKER) pull debian:11
|
||||||
$(DOCKER) build --squash -t ${REPO}:dev-squashed .
|
$(DOCKER) build --squash -t ${REPO}:dev-squashed .
|
||||||
$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)
|
$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ for line in (cat Dockerfile | grep "RUN build_")
|
|||||||
echo " \"$TECH-$VERSION\" \" $TECH_VERBOSE $VERSION\" \\" >> $TECHS_FILE
|
echo " \"$TECH-$VERSION\" \" $TECH_VERBOSE $VERSION\" \\" >> $TECHS_FILE
|
||||||
end
|
end
|
||||||
|
|
||||||
cat rosti.sh.tmp | while read -l line
|
cat rosti.tmpl.sh | while read -l line
|
||||||
if [ "$line" = "{{TECHS}}" ]
|
if [ "$line" = "{{TECHS}}" ]
|
||||||
cat $TECHS_FILE
|
cat $TECHS_FILE
|
||||||
else
|
else
|
||||||
|
@ -164,31 +164,31 @@ function quickTech() {
|
|||||||
case $TECH in
|
case $TECH in
|
||||||
"python")
|
"python")
|
||||||
if [ -z "$VERSION" ]; then
|
if [ -z "$VERSION" ]; then
|
||||||
VERSION=3.9.1
|
VERSION=3.10.0
|
||||||
fi
|
fi
|
||||||
setTech $TECH-$VERSION
|
setTech $TECH-$VERSION
|
||||||
;;
|
;;
|
||||||
"php")
|
"php")
|
||||||
if [ -z "$VERSION" ]; then
|
if [ -z "$VERSION" ]; then
|
||||||
VERSION=7.4.15
|
VERSION=8.0.13
|
||||||
fi
|
fi
|
||||||
setTech $TECH-$VERSION
|
setTech $TECH-$VERSION
|
||||||
;;
|
;;
|
||||||
"node")
|
"node")
|
||||||
if [ -z "$VERSION" ]; then
|
if [ -z "$VERSION" ]; then
|
||||||
VERSION=14.15.4
|
VERSION=16.13.0
|
||||||
fi
|
fi
|
||||||
setTech $TECH-$VERSION
|
setTech $TECH-$VERSION
|
||||||
;;
|
;;
|
||||||
"ruby")
|
"ruby")
|
||||||
if [ -z "$VERSION" ]; then
|
if [ -z "$VERSION" ]; then
|
||||||
VERSION=3.0.0
|
VERSION=3.0.2
|
||||||
fi
|
fi
|
||||||
setTech $TECH-$VERSION
|
setTech $TECH-$VERSION
|
||||||
;;
|
;;
|
||||||
"deno")
|
"deno")
|
||||||
if [ -z "$VERSION" ]; then
|
if [ -z "$VERSION" ]; then
|
||||||
VERSION=1.7.2
|
VERSION=1.16.2
|
||||||
fi
|
fi
|
||||||
setTech $TECH-$VERSION
|
setTech $TECH-$VERSION
|
||||||
;;
|
;;
|
Loading…
Reference in New Issue
Block a user