Go to file
Adam Štrauch e8fbeeba3c
Some checks failed
continuous-integration/drone/push Build is failing
Version 2022.01-1
* 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.
2021-12-03 18:58:56 +01:00
.github/workflows Small changes around testing 2020-04-01 23:47:12 +02:00
etc Adding Composer into PHP 2020-09-14 14:18:38 +02:00
examples PHP 8 and opcache enabled for all PHPs 2021-03-06 00:39:20 +01:00
scripts Initial commit 2020-02-02 22:06:11 +01:00
.drone.yml Exclude test build when build is promoted 2021-11-20 01:45:02 +01:00
.gitignore Initial commit 2020-02-02 22:06:11 +01:00
build_deno.sh New version of all techs, adding Deno and Ruby 2021-02-07 01:05:27 +01:00
build_node.sh Initial commit 2020-02-02 22:06:11 +01:00
build_php8.sh webp support 2021-04-07 18:35:50 +02:00
build_php.sh webp support 2021-04-07 18:35:50 +02:00
build_python.sh Initial commit 2020-02-02 22:06:11 +01:00
build_ruby.sh New version of all techs, adding Deno and Ruby 2021-02-07 01:05:27 +01:00
Dockerfile Version 2022.01-1 2021-12-03 18:58:56 +01:00
gen_rosti.fish Version 2022.01-1 2021-12-03 18:58:56 +01:00
LICENSE Create LICENSE 2020-02-02 22:07:48 +01:00
Makefile Version 2022.01-1 2021-12-03 18:58:56 +01:00
README.md Runtime 2020.08-1 2020-08-23 00:49:52 +02:00
rosti.tmpl.sh Version 2022.01-1 2021-12-03 18:58:56 +01:00
start.sh Don't quit when supervisor crashes 2021-11-19 18:09:51 +01:00
tests2.fish Automatic testing script 2021-11-19 23:52:57 +01:00
tests.sh Runtime 2020.08-1 2020-08-23 00:49:52 +02:00

Roští.cz Runtime

Runtime image designed for our hosting service. It's designed for multiple versions of Node.js, PHP and Python interpreters. It runs SSH, cron daemon and supervisord as process manager.

The goal of the image is to deliver versatile environment different kind of applications.

The image is based on Debian 10 Buster and it's size is around 2.5 GB when it's squashed.

** Supported languages **

  • Python 3.8.2
  • Python 3.8.5
  • Node.js 13.12.0
  • Node.js 14.8.0
  • Node.js 12.14.1
  • Node.js 12.16.1
  • PHP 7.4.4
  • PHP 7.4.9

** Additional tools **

  • Memcached
  • Redis
  • crond
  • Supervisord
  • Nginx
  • Dropbear

Test

To run tests you can check integrated workflow, but all you need are those two commands:

make test

If you prefer Podman, use this command to build the image:

make DOCKER=podman test

This is useful in Fedora.

Additional info

Default user

Image uses system user app to run the application code.

SSH password

The image runs dropbear at start along crond and supervisord. If you want to set password for next start of the container, save it into this file:

/srv/.rosti

Dynamically it can be set like this:

echo "app:PASSWORD" | chpasswd