Update deps, remove PGP

This commit is contained in:
Darren Clarke 2023-09-27 11:13:19 +02:00
parent 79653705fe
commit 58ce48b031
56 changed files with 1057 additions and 5100 deletions

View file

@ -1 +1 @@
FROM docker.elastic.co/elasticsearch/elasticsearch:8.8.1
FROM docker.elastic.co/elasticsearch/elasticsearch:8.10.2

View file

@ -1 +1 @@
FROM heartexlabs/label-studio:1.8.0
FROM heartexlabs/label-studio:1.8.2

View file

@ -1 +1 @@
FROM nginxproxy/nginx-proxy:1.3.0
FROM nginxproxy/nginx-proxy:1.3.1

View file

@ -1 +1 @@
FROM opensearchproject/opensearch-dashboards:2.8.0
FROM opensearchproject/opensearch-dashboards:2.9.0

View file

@ -1 +1 @@
FROM opensearchproject/opensearch:2.8.0
FROM opensearchproject/opensearch:2.9.0

View file

@ -1 +1 @@
FROM postgres:15.3-bookworm
FROM postgres:16.0-bookworm

View file

@ -1 +1 @@
FROM redis:7.0.11-bookworm
FROM redis:7.2.1-bookworm

View file

@ -1,26 +1,22 @@
ARG ZAMMAD_VERSION=6.0.0-32
ARG ZAMMAD_VERSION=6.1.0
ARG EMBEDDED
FROM node:16.18.0-slim as node
FROM zammad/zammad-docker-compose:${ZAMMAD_VERSION} AS builder
COPY --from=node /opt /opt
COPY --from=node /usr/local/bin /usr/local/bin
RUN mkdir -p /opt/zammad/contrib/link/addons
COPY addons ${ZAMMAD_DIR}/contrib/link/addons
COPY setup.rb ${ZAMMAD_DIR}/contrib/link/setup.rb
COPY install.rb ${ZAMMAD_DIR}/contrib/link/install.rb
RUN sed -i '/proxy_set_header X-Forwarded-User "";/d' ${ZAMMAD_DIR}/contrib/nginx/zammad.conf;
ENV EMBEDDED=${embedded}
RUN if [ "$EMBEDDED" = "true" ] ; then sed -i '/proxy_set_header X-Forwarded-User "";/d' ${ZAMMAD_DIR}/contrib/nginx/zammad.conf; fi
USER root
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends nodejs git libclang-dev clang llvm pkg-config nettle-dev;
# RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# ARG SEQUOIA_PROJECT_URL=https://gitlab.com/sequoia-pgp/sequoia-ffi.git
# ARG SEQUOIA_GIT_TAG=main
# ENV SEQUOIA_DIR=/usr/lib/sequoia
# ENV LD_LIBRARY_PATH=${SEQUOIA_DIR}/target/debug
# RUN git clone -b "${SEQUOIA_GIT_TAG}" --single-branch --depth 1 "${SEQUOIA_PROJECT_URL}" "${SEQUOIA_DIR}";
# WORKDIR ${SEQUOIA_DIR}
# RUN export PATH=~/.cargo/bin:$PATH && cargo build -p sequoia-openpgp-ffi;
apt-get install -y --no-install-recommends;
WORKDIR ${ZAMMAD_DIR}
# RUN echo "gem 'ruby_openpgp', git: 'https://github.com/throneless-tech/ruby_openpgp', branch: 'signing-and-userids'" >> Gemfile.local
RUN bundle install --without test development mysql
RUN sed -i '/^[[:space:]]*# create install ready file/ i\
echo "about to reinstall..."\n\
@ -30,12 +26,8 @@ RUN sed -i '/^[[:space:]]*# create install ready file/ i\
USER zammad
RUN ZAMMAD_SAFE_MODE=1 bundle exec rails runner /opt/zammad/contrib/link/install.rb
FROM node:16.18.0-slim as node
FROM zammad/zammad-docker-compose:${ZAMMAD_VERSION}
USER ${ZAMMAD_USER}
# ENV SEQUOIA_DIR=/usr/lib/sequoia
# ENV LD_LIBRARY_PATH=${SEQUOIA_DIR}/target/debug
ENV ZAMMAD_READY_FILE=${ZAMMAD_DIR}/var/zammad.ready
COPY --from=node /opt /opt
COPY --from=node /usr/local/bin /usr/local/bin