This commit is contained in:
parent
2782d6d43d
commit
0aa9488627
@ -40,8 +40,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./images/base
|
context: ./images/base
|
||||||
# Note: Linux is case-sensitive. If your file is literally lowercase "dockerfile", change this to "dockerfile"
|
file: ./images/base/dockerfile
|
||||||
file: ./images/base/Dockerfile
|
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta-base.outputs.tags }}
|
tags: ${{ steps.meta-base.outputs.tags }}
|
||||||
labels: ${{ steps.meta-base.outputs.labels }}
|
labels: ${{ steps.meta-base.outputs.labels }}
|
||||||
@ -62,7 +61,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./images/jupyter
|
context: ./images/jupyter
|
||||||
file: ./images/jupyter/Dockerfile
|
file: ./images/jupyter/dockerfile
|
||||||
push: true
|
push: true
|
||||||
build-args: |
|
build-args: |
|
||||||
BASE_IMAGE=${{ env.REGISTRY }}/${{ env.BASE_IMAGE_NAME }}:${{ steps.meta-base.outputs.version }}
|
BASE_IMAGE=${{ env.REGISTRY }}/${{ env.BASE_IMAGE_NAME }}:${{ steps.meta-base.outputs.version }}
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
ARG BASE_IMAGE=registry.bouvais.lu/tenant-base:1.0.0
|
|
||||||
FROM ${BASE_IMAGE}
|
FROM ${BASE_IMAGE}
|
||||||
|
|
||||||
LABEL org.opencontainers.image.title="tenant-jupyter" \
|
LABEL org.opencontainers.image.title="tenant-jupyter" \
|
||||||
@ -13,7 +12,7 @@ RUN pip install --no-cache-dir -r /tmp/requirements.txt \
|
|||||||
USER appuser
|
USER appuser
|
||||||
WORKDIR /home/appuser/work
|
WORKDIR /home/appuser/work
|
||||||
|
|
||||||
COPY --chown=appuser:appuser test_script.py /home/appuser/test_script.py
|
COPY --chown=appuser:appuser test_script.py /home/appuser/work/test_script.py
|
||||||
|
|
||||||
EXPOSE 8888
|
EXPOSE 8888
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@ name: "b"
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
repository: registry.bouvais.lu/tenant-jupyter
|
repository: registry.bouvais.lu/tenant-jupyter
|
||||||
tag: "latest"
|
tag: "1.0.0"
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user