Skip to content

Commit

Permalink
Updated Dockerfile to use CrateDB version 5.2.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
Crate Jenkins committed Sep 22, 2023
1 parent 8db87d4 commit 9b21bf4
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@

FROM almalinux:9

# Install prerequisites and clean up repository indexes again
RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils tar \
&& dnf clean all \
# Install prerequisites and package updates and clean up repository indexes again
RUN yum install -y yum-utils \
&& yum makecache \
&& yum install -y python3 python3-pip \
&& yum clean all \
&& rm -rf /var/cache/yum

# Install CrateDB
Expand All @@ -19,15 +21,15 @@ RUN groupadd crate \
x86_64) echo x64_linux ;; \
aarch64) echo aarch64_linux ;; \
esac)" \
&& export CRATE_URL=https://cdn.crate.io/downloads/releases/cratedb/${PLATFORM}/crate-5.4.3.tar.gz \
&& export CRATE_URL=https://cdn.crate.io/downloads/releases/cratedb/${PLATFORM}/crate-5.2.9.tar.gz \
&& curl -fSL -O ${CRATE_URL} \
&& curl -fSL -O ${CRATE_URL}.asc \
&& export GNUPGHOME="$(mktemp -d)" \
&& gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
&& gpg --batch --verify crate-5.4.3.tar.gz.asc crate-5.4.3.tar.gz \
&& rm -rf "$GNUPGHOME" crate-5.4.3.tar.gz.asc \
&& tar -xf crate-5.4.3.tar.gz -C /crate --strip-components=1 \
&& rm crate-5.4.3.tar.gz
&& gpg --batch --verify crate-5.2.9.tar.gz.asc crate-5.2.9.tar.gz \
&& rm -rf "$GNUPGHOME" crate-5.2.9.tar.gz.asc \
&& tar -xf crate-5.2.9.tar.gz -C /crate --strip-components=1 \
&& rm crate-5.2.9.tar.gz

# Install crash
RUN curl -fSL -O https://cdn.crate.io/downloads/releases/crash_standalone_0.30.0 \
Expand Down Expand Up @@ -61,13 +63,13 @@ COPY --chown=1000:0 config/crate.yml /crate/config/crate.yml
COPY --chown=1000:0 config/log4j2.properties /crate/config/log4j2.properties

LABEL maintainer="Crate.io <[email protected]>" \
org.opencontainers.image.created="2023-09-05T15:56:26.062030" \
org.opencontainers.image.created="2023-09-22T11:18:05.424297" \
org.opencontainers.image.title="crate" \
org.opencontainers.image.description="CrateDB is a distributed SQL database that handles massive amounts of machine data in real-time." \
org.opencontainers.image.url="https://crate.io/products/cratedb/" \
org.opencontainers.image.source="https://github.com/crate/docker-crate" \
org.opencontainers.image.vendor="Crate.io" \
org.opencontainers.image.version="5.4.3"
org.opencontainers.image.version="5.2.9"

COPY docker-entrypoint.sh /

Expand Down

0 comments on commit 9b21bf4

Please sign in to comment.