-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
3,077 additions
and
854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
FROM ghcr.io/mysociety/data_common:sha-54e0768 | ||
FROM ghcr.io/mysociety/data_common:sha-e3ee4f4 | ||
|
||
# Make an empty project directory so the 'self' setup doesn't fail and scripts can be setup | ||
# Override the .pth created at previous stages to point to where the working directory will land | ||
COPY pyproject.toml poetry.loc[k] /setup/ | ||
COPY src/data_common/pyproject.toml src/data_common/poetry.loc[k] /setup/src/data_common/ | ||
RUN mkdir /setup/src/uk_local_authority_names_and_codes \ | ||
&& touch /setup/src/uk_local_authority_names_and_codes/__init__.py \ | ||
ENV WORKSPACE_NAME uk_local_authority_names_and_codes | ||
RUN mkdir /setup/src/$WORKSPACE_NAME \ | ||
&& touch /setup/src/$WORKSPACE_NAME/__init__.py \ | ||
&& mkdir --parents /setup/src/data_common/src/data_common \ | ||
&& touch /setup/src/data_common/src/data_common/__init__.py \ | ||
&& export PATH="/root/.local/bin:$PATH" \ | ||
&& cd /setup/ && poetry install \ | ||
&& echo "/workspaces/uk_local_authority_names_and_codes/src/" > /usr/local/lib/python3.10/site-packages/uk_local_authority_names_and_codes.pth \ | ||
&& echo "/workspaces/uk_local_authority_names_and_codes/src/data_common/src" > /usr/local/lib/python3.10/site-packages/data_common.pth | ||
&& echo "/workspaces/$WORKSPACE_NAME/src/" > /usr/local/lib/python3.10/site-packages/$WORKSPACE_NAME.pth \ | ||
&& echo "/workspaces/$WORKSPACE_NAME/src/data_common/src" > /usr/local/lib/python3.10/site-packages/data_common.pth |
Submodule theme
updated
2 files
+2 −2 | _layouts/datasets/dataset.html | |
+17 −3 | _layouts/datasets/download.html |
Oops, something went wrong.