Open sdc50 opened 6 months ago
With a total of 4 build args that each have 2 options:
Base Image
(Debian, REHL)
Proxy Server
(Apache, NGINX)
Tethys Environment
(Full, Micro)
Tethys Code
(Source, Conda)
This allows for 16 unique versions of the docker to be built. I don't think our CI should build all of them, but maybe a couple of them. We can then add docs with instructions for building with other options.
The current version of the image copies the source code files from the repo. I'd also like to add a version where the conda package is used.
I'd add to this:
Python
(3.9, 3.10, 3.11, 3.12)
Django
(4.2,5.X)
I'd like to add several build args to the
Dockerfile
that will enable the Tethys Docker Image to be built in several ways. I've crated a new repository that copied the docker stuff from the Tethys repo, to explore some other options. I'd like to integrate those changes back into this repository.Base Image
Currently the
FROM
image ismambaorg/micromamba:bullseye
. I'd like to make this into an build arg and provide a RHEL option, like this one (https://github.com/sdc50/ubi-micromamba-docker).Proxy Server
Currently the proxy server is set to NGINX. Tethys supports generating configurations for Apache and Nginx. I'd like to generalize some Environment Variables that are
NGINX
specific and make them bePROXY_SERVER
variables.I would need to combine the following two versions of the
tethyscore.sls
:Tethys Environment
1013 Implements a build arg that supports building the environment with either the full Tethys environment or the Micro-Tethys environment.
Tethys Code
The current version of the image copies the source code files from the repo. I'd also like to add a version where the conda package is used.