Skip to content

Commit 22d0d2e

Browse files
committed
REF: Update from legacy syntax for ENV layers in dockerfiles
1 parent 59db6ed commit 22d0d2e

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ ENV HISTFILE="/workspaces/octue-sdk-python/.devcontainer/.zsh_history"
1616
USER vscode
1717
ENV POETRY_HOME=/home/vscode/.poetry
1818
RUN curl -sSL https://install.python-poetry.org | python3 -
19-
ENV PATH "$POETRY_HOME/bin:$PATH"
19+
ENV PATH="$POETRY_HOME/bin:$PATH"
2020
RUN poetry config virtualenvs.create false

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y git curl
44

55
ENV POETRY_HOME=/etc/poetry
66
RUN curl -sSL https://install.python-poetry.org | python3 -
7-
ENV PATH "$POETRY_HOME/bin:$PATH"
7+
ENV PATH="$POETRY_HOME/bin:$PATH"
88
RUN poetry config virtualenvs.create false
99

1010
# Install python dependencies. Note that poetry installs any root packages by default, but this is not available at this

octue/cloud/deployment/google/cloud_run/Dockerfile-python310

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM windpioneers/gdal-python:little-gecko-gdal-2.4.1-python-3.10-slim
22

33
# Ensure print statements and log messages appear promptly in Cloud Logging.
4-
ENV PYTHONUNBUFFERED True
4+
ENV PYTHONUNBUFFERED=True
55

66
ENV PROJECT_ROOT=/workspace
77
WORKDIR $PROJECT_ROOT
@@ -10,7 +10,7 @@ RUN apt-get update -y && apt-get install -y --fix-missing build-essential && rm
1010

1111
# Install poetry.
1212
ENV POETRY_HOME=/root/.poetry
13-
ENV PATH "$POETRY_HOME/bin:$PATH"
13+
ENV PATH="$POETRY_HOME/bin:$PATH"
1414
RUN curl -sSL https://install.python-poetry.org | python3 - && poetry config virtualenvs.create false;
1515

1616
# Copy in the dependencies file(s) for caching. One or more of `requirements.txt`, `setup.py`, and `pyproject.toml and

octue/cloud/deployment/google/cloud_run/Dockerfile-python311

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM windpioneers/gdal-python:modest-heron-gdal-2.4.1-python-3.11-slim
22

33
# Ensure print statements and log messages appear promptly in Cloud Logging.
4-
ENV PYTHONUNBUFFERED True
4+
ENV PYTHONUNBUFFERED=True
55

66
ENV PROJECT_ROOT=/workspace
77
WORKDIR $PROJECT_ROOT
@@ -10,7 +10,7 @@ RUN apt-get update -y && apt-get install -y --fix-missing build-essential && rm
1010

1111
# Install poetry.
1212
ENV POETRY_HOME=/root/.poetry
13-
ENV PATH "$POETRY_HOME/bin:$PATH"
13+
ENV PATH="$POETRY_HOME/bin:$PATH"
1414
RUN curl -sSL https://install.python-poetry.org | python3 - && poetry config virtualenvs.create false;
1515

1616
# Copy in the dependencies file(s) for caching. One or more of `requirements.txt`, `setup.py`, and `pyproject.toml and

octue/cloud/deployment/google/cloud_run/Dockerfile-python39

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM windpioneers/gdal-python:little-gecko-gdal-2.4.1-python-3.9-slim
22

33
# Ensure print statements and log messages appear promptly in Cloud Logging.
4-
ENV PYTHONUNBUFFERED True
4+
ENV PYTHONUNBUFFERED=True
55

66
ENV PROJECT_ROOT=/workspace
77
WORKDIR $PROJECT_ROOT
@@ -10,7 +10,7 @@ RUN apt-get update -y && apt-get install -y --fix-missing build-essential && rm
1010

1111
# Install poetry.
1212
ENV POETRY_HOME=/root/.poetry
13-
ENV PATH "$POETRY_HOME/bin:$PATH"
13+
ENV PATH="$POETRY_HOME/bin:$PATH"
1414
RUN curl -sSL https://install.python-poetry.org | python3 - && poetry config virtualenvs.create false;
1515

1616
# Copy in the dependencies file(s) for caching. One or more of `requirements.txt`, `setup.py`, and `pyproject.toml and

0 commit comments

Comments
 (0)