You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Adam Štrauch 446ae70e0e
Fix ssh-copy-id helper
2 months ago
.github/workflows Small changes around testing 2 years ago
etc Adding Composer into PHP 2 years ago
examples Default app fix 2 months ago
scripts Initial commit 2 years ago
.drone.yml Merge test build with test steps 7 months ago
.gitignore Initial commit 2 years ago
Dockerfile New version of techs 2 months ago
LICENSE Create LICENSE 2 years ago
Makefile Default app fix 2 months ago
README.md Runtime 2020.08-1 2 years ago
build_deno.sh New version of all techs, adding Deno and Ruby 1 year ago
build_node.sh Initial commit 2 years ago
build_php.sh webp support 1 year ago
build_php8.sh webp support 1 year ago
build_python.sh Initial commit 2 years ago
build_ruby.sh New version of all techs, adding Deno and Ruby 1 year ago
gen_rosti.fish Version 2022.01-1 7 months ago
rosti.tmpl.sh Default app fix 2 months ago
start.sh Fix ssh-copy-id helper 2 months ago
tests.sh Runtime 2020.08-1 2 years ago
tests2.sh Dynamic testing 7 months ago

README.md

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