No description
Find a file
Adam Štrauch 60b03be0ff
Some checks failed
Test build / build (push) Failing after 31s
Fix tests
2024-08-13 21:35:17 +02:00
.github/workflows A lot of new stuff 2024-08-13 19:59:45 +02:00
etc A lot of new stuff 2024-08-13 19:59:45 +02:00
examples A lot of new stuff 2024-08-13 19:59:45 +02:00
scripts Fix redis config 2023-10-27 00:55:12 +02:00
.drone.off.yml Test pipeline 2023-11-26 02:52:15 +01:00
.gitignore Initial commit 2020-02-02 22:06:11 +01:00
activate_tech.fish A lot of new stuff 2024-08-13 19:59:45 +02:00
build_bun.sh A lot of new stuff 2024-08-13 19:59:45 +02:00
build_deno.sh New version of all techs, adding Deno and Ruby 2021-02-07 01:05:27 +01:00
build_golang.sh A lot of new stuff 2024-08-13 19:59:45 +02:00
build_node.sh Initial commit 2020-02-02 22:06:11 +01:00
build_openjdk.sh A lot of new stuff 2024-08-13 19:59:45 +02:00
build_php.sh webp support 2021-04-07 18:35:50 +02:00
build_php8.sh A lot of new stuff 2024-08-13 19:59:45 +02:00
build_python.sh Initial commit 2020-02-02 22:06:11 +01:00
build_ruby.sh A lot of new stuff 2024-08-13 19:59:45 +02:00
Dockerfile A lot of new stuff 2024-08-13 19:59:45 +02:00
gen_rosti.fish A lot of new stuff 2024-08-13 19:59:45 +02:00
generate_versions.py Fix pipeline 2024-08-13 21:24:30 +02:00
LICENSE Create LICENSE 2020-02-02 22:07:48 +01:00
Makefile 2023.12-1 updated versions of all supported techs 2023-11-21 01:05:16 +01:00
README.md Runtime 2020.08-1 2020-08-23 00:49:52 +02:00
rosti.tmpl.sh A lot of new stuff 2024-08-13 19:59:45 +02:00
start.sh Switch to Debian 12 2023-06-10 17:05:21 +02:00
Taskfile.yml A lot of new stuff 2024-08-13 19:59:45 +02:00
tests2.sh Fix tests 2024-08-13 21:35:17 +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