Tweak dockerfile
This commit is contained in:
parent
f2f9a73ccd
commit
b80508eed9
1 changed files with 10 additions and 7 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -10,23 +10,26 @@ RUN curl -L \
|
|||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
COPY src /app
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
COPY log-config.yaml /etc/runboat-log-config.yaml
|
||||
|
||||
ENV RUNBOAT_SUPPORTED_REPOS='["OCA/mis-builder", "shopinvader/odoo-shopinvader", "OCA/server-env"]'
|
||||
ENV RUNBOAT_BUILD_IMAGES='{"15.0": "ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest"}'
|
||||
ENV RUNBOAT_API_ADMIN_USER="admin"
|
||||
ENV RUNBOAT_API_ADMIN_PASSWD="admin"
|
||||
ENV RUNBOAT_BUILD_NAMESPACE=runboat-builds
|
||||
ENV RUNBOAT_BUILD_DOMAIN=runboat-builds.example.com
|
||||
ENV RUNBOAT_BUILD_ENV='{"PGHOST": "postgres14.runboat-builds-db", "PGPORT": "5432", "PGUSER": "runboat-build"}'
|
||||
ENV RUNBOAT_BUILD_SECRET_ENV='{"PGPASSWORD": "..."}'
|
||||
ENV RUNBOAT_BUILD_TEMPLATE_VARS='{}'
|
||||
ENV RUNBOAT_GITHUB_TOKEN=
|
||||
ENV RUNBOAT_LOG_CONFIG=/etc/runboat-log-config.yaml
|
||||
ENV RUNBOAT_BASE_URL=https://runboat.example.com
|
||||
|
||||
ENV KUBECONFIG=/run/kubeconfig
|
||||
# KUBECONFIG to be provided by user, unless running in cluster with a service account
|
||||
# having the necessary permissions.
|
||||
|
||||
COPY log-config.yaml /etc/runboat-log-config.yaml
|
||||
ENV RUNBOAT_LOG_CONFIG=/etc/runboat-log-config.yaml
|
||||
|
||||
COPY src /app
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue