Compare commits

..

No commits in common. "1280bfd0961d0cf2b70b188b82c0211ab6c162ce" and "25d98cbce95fb2fe066fb61f1f5ad3b30e250cd6" have entirely different histories.

2 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,4 @@
FROM alpine:3.20
FROM alpine:3.19
#
# Include dist
COPY dist/ /root/dist/
@ -30,9 +30,10 @@ RUN apk --no-cache -U add \
# Setup heralding
mkdir -p /opt && \
cd /opt/ && \
git clone https://github.com/johnnykv/heralding && \
# git clone https://github.com/johnnykv/heralding && \
git clone https://github.com/t3chn0m4g3/heralding && \
cd heralding && \
git checkout ac12724ab38c4e2fe78f07d1bc35e6e586ba69c0 && \
git checkout e863c8aa4cee6dd6308ccb20b2d6c816a0fda2a5 && \
cp /root/dist/requirements.txt . && \
pip3 install --break-system-packages --upgrade pip && \
pip3 install --break-system-packages --no-cache-dir -r requirements.txt && \

View file

@ -16,9 +16,14 @@ COPY --from=builder /opt/honeyaml/honeyaml /opt/honeyaml/
COPY --from=builder /opt/honeyaml/api.yml /opt/honeyaml/
#
# Setup user, groups and configs
RUN apk -U --no-cache add libstdc++
RUN <<EOF
apk update
apk add libstdc++
addgroup --gid 2000 honeyaml
adduser -S -H -s /bin/sh -u 2000 -D honeyaml -G honeyaml
EOF
#
STOPSIGNAL SIGINT
USER 2000:2000
USER honeyaml:honeyaml
WORKDIR /opt/honeyaml
CMD ["./honeyaml", "-d", "/opt/honeyaml/log"]