Skip to content

Commit

Permalink
Merge pull request #1868 from alphagov/update-spatial-sha-stop-duplic…
Browse files Browse the repository at this point in the history
…ates

Update spatial sha stop duplicates
  • Loading branch information
kentsanggds authored Nov 6, 2024
2 parents 8714d78 + daa11ad commit 23e594e
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ apps:
ckan: &app_ckan
name: ckan
version: "2.10.4"
patch: e
patch: f
pycsw: &app_pycsw
name: pycsw
version: "2.6.1"
patch: k
patch: l
solr: &app_solr
name: solr
version: "2.10"
Expand Down
4 changes: 2 additions & 2 deletions docker/ckan/2.10.4-base.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=ghcr.io/alphagov/ckan:2.10.4-e-core
ARG BASE_IMAGE=ghcr.io/alphagov/ckan:2.10.4-f-core
FROM --platform=$TARGETPLATFORM ${BASE_IMAGE}

Check warning on line 2 in docker/ckan/2.10.4-base.Dockerfile

View workflow job for this annotation

GitHub Actions / Build ckan for amd64

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

Check warning on line 2 in docker/ckan/2.10.4-base.Dockerfile

View workflow job for this annotation

GitHub Actions / Build ckan for arm64

Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior

RedundantTargetPlatform: Setting platform to predefined $TARGETPLATFORM in FROM is redundant as this is the default behavior More info: https://docs.docker.com/go/dockerfile/rule/redundant-target-platform/

COPY production.ini $CKAN_CONFIG/production.ini
Expand All @@ -15,7 +15,7 @@ ENV ckan_harvest_sha='9fb44f79809a1c04dfeb0e1ca2540c5ff3cacef4'
ENV ckan_dcat_fork='ckan'
ENV ckan_dcat_sha='618928be5a211babafc45103a72b6aab4642e964'

ENV ckan_spatial_sha='5840746380b194d84708181e73fcb904a66625f3'
ENV ckan_spatial_sha='23f9e5d0d07fa411ffea56498167da6a2c9a7df6'
ENV ckan_spatial_fork='alphagov'

RUN echo "pip install DGU extensions..." && \
Expand Down
2 changes: 1 addition & 1 deletion docker/ckan/2.10.4-core.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See CKAN docs on installation from Docker Compose on usage
FROM --platform=$TARGETPLATFORM ubuntu:jammy
FROM ubuntu:jammy

# Set timezone
ENV TZ=UTC
Expand Down
2 changes: 1 addition & 1 deletion docker/ckan/2.10.4.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$TARGETPLATFORM ghcr.io/alphagov/ckan:2.10.4-e-base
FROM ghcr.io/alphagov/ckan:2.10.4-f-base

USER root

Expand Down
12 changes: 6 additions & 6 deletions docker/pycsw/2.6.1.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# See CKAN docs on installation from Docker Compose on usage
FROM --platform=$TARGETPLATFORM ubuntu:jammy AS base
FROM ubuntu:jammy AS base

# Set timezone
ENV TZ=UTC
Expand Down Expand Up @@ -44,9 +44,9 @@ RUN apt-get -q -y update \
&& rm -rf /var/lib/apt/lists/*

# Define environment variables
ENV CKAN_HOME /usr/lib/ckan
ENV CKAN_VENV $CKAN_HOME/venv
ENV CKAN_CONFIG /config
ENV CKAN_HOME=/usr/lib/ckan
ENV CKAN_VENV=$CKAN_HOME/venv
ENV CKAN_CONFIG=/config
ENV CKAN_STORAGE_PATH=/var/lib/ckan

# Create ckan user
Expand Down Expand Up @@ -91,14 +91,14 @@ RUN pip install -U pip && \
chmod +x /pycsw-entrypoint.sh && \
chown -R ckan:ckan $CKAN_HOME $CKAN_VENV $CKAN_CONFIG $CKAN_STORAGE_PATH

FROM --platform=$TARGETPLATFORM base AS prod
FROM base AS prod

WORKDIR $CKAN_VENV/src

USER ckan
EXPOSE 5000

ENV ckan_spatial_sha='5840746380b194d84708181e73fcb904a66625f3'
ENV ckan_spatial_sha='23f9e5d0d07fa411ffea56498167da6a2c9a7df6'
ENV ckan_spatial_fork='alphagov'

ENV ckan_harvest_fork='ckan'
Expand Down

0 comments on commit 23e594e

Please sign in to comment.