Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.59 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.59 KB

Container files

Running the production containers

Container images are automatically published to this repository's GitHub Packages registry.

Build notes

All these containers expect the repository root as their build context, i.e. the positional parameter you pass when building with podman/docker.

An example (with $PWD being the parent directory to this one):

podman build -f containers/alpine/Dockerfile .

Another example (passing the repository URL as context):

podman build -f containers/alpine/Dockerfile https://github.com/unioslo/tsd-file-api.git

Container overview

Dockerfile

Production ready service container using that is using docker.io/python:3-slim as its base image.

alpine/Dockerfile

Production ready service container using that is using docker.io/python:3-alpine as its base image.

rpm-el7/Dockerfile

Builds an RPM of this package and all its (Python) dependencies on CentOS 7, for deployment in RHEL7-like environments.

rpm/Dockerfile

Builds an RPM of this package and all its (Python) dependencies on Rocky Linux (default: 8), for deployment in RHEL-like environments.

test/Dockerfile

Installs all of the package's dependencies, including development dependencies, except for the tsdfileapi package itself (before runtime). Intended for use in running the package's test suite and local development.