Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm chart images: conda removed -> pip only, usage disclaimer added, minimized Dockerfile complexity #533

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set OCI labels consistently
consideRatio committed Apr 19, 2022
commit 7eca0c6dbf56957c20bb81710762b67c64aecc1c
6 changes: 5 additions & 1 deletion continuous_integration/docker/base/Dockerfile
Original file line number Diff line number Diff line change
@@ -10,7 +10,11 @@ FROM centos:7
ARG python_version="3.10"
ARG go_version="1.18"

LABEL org.opencontainers.image.source="https://github.com/dask-gateway"
# Set labels based on the Open Containers Initiative (OCI):
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
#
LABEL org.opencontainers.image.source="https://github.com/dask/dask-gateway"
LABEL org.opencontainers.image.url="https://github.com/dask/dask-gateway/blob/HEAD/continuous_integration/docker/base/Dockerfile"

# Configure yum to error on missing packages
RUN echo "skip_missing_names_on_install=False" >> /etc/yum.conf
5 changes: 5 additions & 0 deletions continuous_integration/docker/hadoop/Dockerfile
Original file line number Diff line number Diff line change
@@ -4,6 +4,11 @@
#
FROM ghcr.io/dask/dask-gateway-ci-base:latest

# Set labels based on the Open Containers Initiative (OCI):
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
#
LABEL org.opencontainers.image.url="https://github.com/dask/dask-gateway/blob/HEAD/continuous_integration/docker/hadoop/Dockerfile"

# Notify dask-gateway tests that Yarn (part of Hadoop) is available
ENV TEST_DASK_GATEWAY_YARN true

5 changes: 5 additions & 0 deletions continuous_integration/docker/pbs/Dockerfile
Original file line number Diff line number Diff line change
@@ -4,6 +4,11 @@
#
FROM ghcr.io/dask/dask-gateway-ci-base:latest

# Set labels based on the Open Containers Initiative (OCI):
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
#
LABEL org.opencontainers.image.url="https://github.com/dask/dask-gateway/blob/HEAD/continuous_integration/docker/pbs/Dockerfile"

# Notify dask-gateway tests that PBS is available
ENV TEST_DASK_GATEWAY_PBS true

5 changes: 5 additions & 0 deletions continuous_integration/docker/slurm/Dockerfile
Original file line number Diff line number Diff line change
@@ -4,6 +4,11 @@
#
FROM ghcr.io/dask/dask-gateway-ci-base:latest

# Set labels based on the Open Containers Initiative (OCI):
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
#
LABEL org.opencontainers.image.url="https://github.com/dask/dask-gateway/blob/HEAD/continuous_integration/docker/slurm/Dockerfile"

# Notify dask-gateway tests that Slurm is available
ENV TEST_DASK_GATEWAY_SLURM true

6 changes: 6 additions & 0 deletions dask-gateway-server/Dockerfile
Original file line number Diff line number Diff line change
@@ -8,6 +8,12 @@
#
FROM python:3.10-slim-bullseye

# Set labels based on the Open Containers Initiative (OCI):
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
#
LABEL org.opencontainers.image.source="https://github.com/dask/dask-gateway"
LABEL org.opencontainers.image.url="https://github.com/dask/dask-gateway/blob/HEAD/dask-gateway-server/Dockerfile"

# Install tini and upgrade linux packages are updated to patch known
# vulnerabilities.
RUN apt-get update \
6 changes: 6 additions & 0 deletions dask-gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -13,6 +13,12 @@
#
FROM python:3.10-slim-bullseye

# Set labels based on the Open Containers Initiative (OCI):
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
#
LABEL org.opencontainers.image.source="https://github.com/dask/dask-gateway"
LABEL org.opencontainers.image.url="https://github.com/dask/dask-gateway/blob/HEAD/dask-gateway/Dockerfile"

# Install tini and update linux packages to patch known vulnerabilities.
RUN apt-get update \
&& apt-get upgrade -y \