Version 2022.01-1
Some checks failed
continuous-integration/drone/push Build is failing

* 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:
Adam Štrauch 2021-12-03 18:58:56 +01:00
parent 631877c1fd
commit e8fbeeba3c
Signed by: cx
GPG Key ID: 018304FFA8988F8D
4 changed files with 14 additions and 17 deletions

View File

@ -1,15 +1,12 @@
FROM debian:buster
FROM debian:11
RUN DEBIAN_FRONTEND=noninteractive apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
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 && \
echo "deb http://security.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian buster-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 echo "deb http://deb.debian.org/debian/ bullseye main contrib non-free" > /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/ bullseye-updates main contrib non-free" >> /etc/apt/sources.list
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 \
@ -17,7 +14,7 @@ libpng-dev libpng-dev build-essential git mercurial build-essential \
libbz2-dev libsqlite3-dev libreadline-dev zlib1g-dev libncurses5-dev \
libgdbm-dev libgd-dev cron git subversion vim nano mc htop procps \
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 \
imagemagick libmagick++-6.q16-dev libmagick++-6.q16hdri-dev libmagickwand-dev ncdu libsodium-dev \
python3 python3-pip python3-virtualenv \

View File

@ -1,11 +1,11 @@
REPO=harbor.hq.rosti.cz/rosti/runtime
DOCKER=docker
VERSION=2021.11-1
VERSION=2022.01-1
all: build
build:
$(DOCKER) pull debian:buster
$(DOCKER) pull debian:11
$(DOCKER) build -t ${REPO}:dev .
$(DOCKER) tag ${REPO}:dev ${REPO}:$(VERSION)
@ -13,7 +13,7 @@ test:
DOCKER=$(DOCKER) fish ./tests2.fish
squashed:
$(DOCKER) pull debian:buster
$(DOCKER) pull debian:11
$(DOCKER) build --squash -t ${REPO}:dev-squashed .
$(DOCKER) tag ${REPO}:dev-squashed ${REPO}:$(VERSION)

View File

@ -34,7 +34,7 @@ for line in (cat Dockerfile | grep "RUN build_")
echo " \"$TECH-$VERSION\" \" $TECH_VERBOSE $VERSION\" \\" >> $TECHS_FILE
end
cat rosti.sh.tmp | while read -l line
cat rosti.tmpl.sh | while read -l line
if [ "$line" = "{{TECHS}}" ]
cat $TECHS_FILE
else

View File

@ -164,31 +164,31 @@ function quickTech() {
case $TECH in
"python")
if [ -z "$VERSION" ]; then
VERSION=3.9.1
VERSION=3.10.0
fi
setTech $TECH-$VERSION
;;
"php")
if [ -z "$VERSION" ]; then
VERSION=7.4.15
VERSION=8.0.13
fi
setTech $TECH-$VERSION
;;
"node")
if [ -z "$VERSION" ]; then
VERSION=14.15.4
VERSION=16.13.0
fi
setTech $TECH-$VERSION
;;
"ruby")
if [ -z "$VERSION" ]; then
VERSION=3.0.0
VERSION=3.0.2
fi
setTech $TECH-$VERSION
;;
"deno")
if [ -z "$VERSION" ]; then
VERSION=1.7.2
VERSION=1.16.2
fi
setTech $TECH-$VERSION
;;