19 Commits

Author SHA1 Message Date
Henne Vogelsang
c9deeac3b2 Adapt Dockerfile to osem/base changes 2024-10-28 14:10:47 +01:00
Henne Vogelsang
f12a24bce8 Stop updating webdrivers in build 2024-06-24 15:51:32 +02:00
Henne Vogelsang
ef9b37f269 Install foreman system wide 2024-06-07 15:09:31 +02:00
Henne Vogelsang
8987808649 Download chromedriver during container build
If it's too outdated it leads to weird failures in the test suite
because we disallow outside requests in it.
2024-06-07 14:09:13 +02:00
Henne Vogelsang
effba3382e Update Ruby version to 3.3.2
Also remove support for  OSEM_RUBY_VERSION, we are going to support
one ruby version and one ruby version only now.
2024-06-06 16:59:15 +02:00
Henne Vogelsang
c5d46867c3 Stop installing bundler/foreman, it's done in osem/base now 2023-02-02 18:47:44 +01:00
Henne Vogelsang
6f3111c35d Fix docker shell environment
Move shared variables (nokogiri/path etc.) into the base image.

Fixes #2917
2022-03-01 15:43:23 +01:00
Henne Vogelsang
0592d77949 Install bundler and foreman for Ruby 3.1 2022-02-10 16:53:26 +01:00
Henne Vogelsang
d6b57df19c Switch docker-base project
Things moved now into a unified host project.
2021-10-11 13:43:12 +02:00
Henne Vogelsang
6648082968 Switch dev-env to openSUSE 15.2
...and to OBS built container images!
2021-03-06 00:08:35 +01:00
Henne Vogelsang
8fd3004d7f Introduces openSUSE based docker-compose environment 2018-09-11 00:10:42 +02:00
Ismael Olea
3afe905448 Adding suggested better syntax 2018-01-02 08:28:49 -08:00
Ismael Olea
4c1a9078fe Reviewed changes
Following indications from @TheAssassin.
2018-01-02 08:28:49 -08:00
Ismael Olea
8d17acb1a8 Update Dockerfile
Adding a needed volumen.
2018-01-02 08:28:49 -08:00
Ismael Olea
b32ddc453d Fix the docker persistence for uploaded pictures: #1833 #1667 2018-01-02 08:28:49 -08:00
Tobias Brunner
5a2c87630c adapt dir permissions for openshift and add dumb-init
This commit updates directory permissions to be compatible with
OpenShift which starts the container with an arbitrary uid which is
member of the root group. For more information please consult
https://docs.openshift.org/latest/creating_images/guidelines.html.

dumb-init is added to have a proper PID 1. bash should not run as PID 1
as this could lead to improper container shutdown.
2017-08-28 21:09:42 +02:00
TheAssassin
28d9ac9b1f Switch to built in rails server 2017-07-09 21:38:43 +02:00
TheAssassin
8229cca1e8 Add missing dependency to Dockerfile 2017-07-09 21:38:43 +02:00
TheAssassin
f15fe9ddb0 Docker support for production use
This commit adds a Docker infrastructure that is ready for production
use. It is meant to simplify the deployment of OSEM for everyone who
wants to host their own instances.

It includes many features like data persistence, automatic secret key
generation and persistence and automatic database initialization and
upgrading. This should make updating the Docker container as easy as
possible.
2017-07-09 21:38:43 +02:00