Using tech scheduled to EOL 5 years ago should be a criminal offense

This commit is contained in:
Disassembler 2020-03-13 20:39:52 +01:00
parent 734a9611e5
commit 61ab0b0b48
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
5 changed files with 27 additions and 5 deletions

View File

@ -21,7 +21,7 @@
} }
}, },
"ckan-datapusher": { "ckan-datapusher": {
"image": "ckan-datapusher_0.0.15-200313", "image": "ckan-datapusher_0.0.16-200313",
"mounts": { "mounts": {
"ckan/datapusher_conf": "etc/ckan-datapusher", "ckan/datapusher_conf": "etc/ckan-datapusher",
"ckan/datapusher_data": "srv/ckan-datapusher/data" "ckan/datapusher_data": "srv/ckan-datapusher/data"

View File

@ -1,5 +1,5 @@
IMAGE ckan-datapusher_0.0.15-200313 IMAGE ckan-datapusher_0.0.16-200313
FROM alpine3.11-python2.7_2.7.16-200313 FROM alpine3.10-python2.7_2.7.16-200313
RUN EOF RUN EOF
# Install runtime dependencies # Install runtime dependencies
@ -12,7 +12,7 @@ RUN EOF
mkdir -p /srv/ckan-datapusher mkdir -p /srv/ckan-datapusher
cd /srv/ckan-datapusher cd /srv/ckan-datapusher
pip install -U setuptools pip install -U setuptools
pip install -e 'git+https://github.com/ckan/datapusher.git@3926f14a5fd2143cfa005eede6588b35c4a07513#egg=datapusher' pip install -e 'git+https://github.com/ckan/datapusher.git@e662e3c33e069ac174cdb4fb1d61121f0ba4bb3a#egg=datapusher'
# Create OS user # Create OS user
addgroup -S -g 8080 ckandp addgroup -S -g 8080 ckandp

View File

@ -0,0 +1,8 @@
IMAGE alpine3.10-python2.7_2.7.16-200313
FROM alpine3.10_3.10.4-200313
RUN EOF
apk --no-cache add python2
EOF
CMD /usr/bin/python

View File

@ -0,0 +1,14 @@
IMAGE alpine3.10_3.10.4-200313
COPY https://github.com/alpinelinux/docker-alpine/raw/v3.10/x86_64/alpine-minirootfs-3.10.4-x86_64.tar.gz
RUN EOF
# Update packages
apk --no-cache upgrade
# Install common packages
apk --no-cache add libbz2 libgcc libressl libstdc++ libxml2 libxslt ncurses-libs pcre readline s6 xz-libs
# Cleanup
rm -rf /etc/crontabs/root /etc/periodic
EOF

View File

@ -1,6 +1,6 @@
IMAGE alpine3.8_3.8.5-200313 IMAGE alpine3.8_3.8.5-200313
COPY https://github.com/gliderlabs/docker-alpine/raw/rootfs/library-3.8/x86_64/versions/library-3.8/x86_64/rootfs.tar.xz COPY https://github.com/alpinelinux/docker-alpine/raw/v3.8/x86_64/alpine-minirootfs-3.8.5-x86_64.tar.gz
RUN EOF RUN EOF
# Update packages # Update packages