Skip to content

Commit 99be0e8

Browse files
committed
Added Dockerfile for image with debug
1 parent 64a5b72 commit 99be0e8

File tree

3 files changed

+35
-3
lines changed

3 files changed

+35
-3
lines changed

sddi-base/Dockerfile.debug

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
1+
ARG BASEIMAGE_REPOSITORY=ghcr.io/tum-gis/ckan-sddi-base
22
ARG BASEIMAGE_VERSION=edge
3-
ARG CKAN_VERSION=2.9.7
4-
FROM ghcr.io/tum-gis/ckan-sddi-base:${BASEIMAGE_VERSION}
3+
4+
FROM ${BASEIMAGE_REPOSITORY}:${BASEIMAGE_VERSION}
55

66
USER root
77

sddi-social/Dockerfile.debug

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
ARG BASEIMAGE_REPOSITORY=ghcr.io/tum-gis/ckan-sddi-social
2+
ARG BASEIMAGE_VERSION=edge
3+
4+
FROM ${BASEIMAGE_REPOSITORY}:${BASEIMAGE_VERSION}
5+
6+
USER root
7+
8+
ADD https://raw.githubusercontent.com/ckan/ckan/ckan-2.9.7/dev-requirements.txt /dev-requirements.txt
9+
RUN set -ex && \
10+
pip install -r /dev-requirements.txt && \
11+
rm /dev-requirements.txt
12+
13+
RUN set -ex && \
14+
ckan config-tool "${CKAN_INI}" "debug = True"
15+
16+
USER ckan

sddi/Dockerfile.debug

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
ARG BASEIMAGE_REPOSITORY=ghcr.io/tum-gis/ckan-sddi
2+
ARG BASEIMAGE_VERSION=edge
3+
4+
FROM ${BASEIMAGE_REPOSITORY}:${BASEIMAGE_VERSION}
5+
6+
USER root
7+
8+
ADD https://raw.githubusercontent.com/ckan/ckan/ckan-2.9.7/dev-requirements.txt /dev-requirements.txt
9+
RUN set -ex && \
10+
pip install -r /dev-requirements.txt && \
11+
rm /dev-requirements.txt
12+
13+
RUN set -ex && \
14+
ckan config-tool "${CKAN_INI}" "debug = True"
15+
16+
USER ckan

0 commit comments

Comments
 (0)