healthcheck, watch pid not cpu
cleanup dockerfiles
bump dicompot, heralding, elasticpot, endlessh to alpine 3.19
bump dionaea, heralding to latest master
This commit is contained in:
t3chn0m4g3
2024-02-28 19:07:22 +01:00
parent 285b37a00d
commit be74fc75ca
69 changed files with 314 additions and 190 deletions

View File

@ -1,10 +1,13 @@
FROM alpine:3.17
FROM alpine:3.19
#
# Include dist
COPY dist/ /root/dist/
#
# Setup apk
RUN apk -U add --no-cache \
build-base \
git \
g++ && \
build-base \
git \
g++ && \
apk -U add --no-cache go --repository http://dl-3.alpinelinux.org/alpine/edge/community && \
#
# Setup go, build dicompot
@ -20,6 +23,7 @@ RUN apk -U add --no-cache \
# Setup dicompot
mkdir -p /opt/dicompot/images && \
cp /opt/go/bin/server /opt/dicompot && \
cp -R /root/dist/dcm_pts/P1/ /opt/dicompot/images && \
#
# Setup user, groups and configs
addgroup -g 2000 dicompot && \

View File

@ -7,7 +7,7 @@ services:
# Dicompot service
# Get the Horos Client for testing: https://horosproject.org/
# Get Dicom images (CC BY 3.0): https://www.cancerimagingarchive.net/collections/
# Get Dicom images (CC BY 3.0): https://dataverse.harvard.edu/dataverse/harvard/?q=dicom
# Put images (which must be in Dicom DCM format or it will not work!) into /data/dicompot/images
dicompot:
build: .
@ -22,5 +22,5 @@ services:
image: "dtagdevsec/dicompot:alpha"
read_only: true
volumes:
- /data/dicompot/log:/var/log/dicompot
# - /data/dicompot/images:/opt/dicompot/images
- $HOME/tpotce/data/dicompot/log:/var/log/dicompot
# - $HOME/tpotce/data/dicompot/images:/opt/dicompot/images