File tree Expand file tree Collapse file tree 4 files changed +24
-40
lines changed
Expand file tree Collapse file tree 4 files changed +24
-40
lines changed Original file line number Diff line number Diff line change 22name : CrateDB Docker images test
33on : [push]
44
5+ permissions :
6+ contents : read
7+ checks : write
8+ statuses : write
9+
510jobs :
611 multi-arch-build :
712 runs-on : ubuntu-latest
813 strategy :
914 matrix :
10- arch : [linux/amd64, linux/ arm64]
15+ arch : [linux/arm64]
1116 steps :
12- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v6
18+ with :
19+ persist-credentials : false
1320
1421 - name : Set up Python
1522 uses : actions/setup-python@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77FROM almalinux:10-kitten
88
99# Install prerequisites and clean up repository indexes again
10- RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils tar util-linux gnupg \
10+ RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils util-linux gnupg \
1111 && dnf clean all \
1212 && rm -rf /var/cache/yum
1313
14+ RUN tar --version
15+
1416# Install CrateDB
1517RUN groupadd crate \
1618 && useradd -u 1000 -g crate -d /crate crate \
@@ -20,14 +22,14 @@ RUN groupadd crate \
2022 aarch64) echo aarch64_linux ;; \
2123 esac)" \
2224 && export CRATE_URL=https://cdn.crate.io/downloads/releases/cratedb/${PLATFORM}/crate-6.2.0.tar.gz \
23- && curl -fSL -O ${CRATE_URL} \
25+ && curl -v - fSL -O ${CRATE_URL} \
2426 && curl -fSL -O ${CRATE_URL}.asc \
2527 && export GNUPGHOME="$(mktemp -d)" \
2628 && gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
2729 && gpg --batch --verify crate-6.2.0.tar.gz.asc crate-6.2.0.tar.gz \
2830 && rm -rf "$GNUPGHOME" crate-6.2.0.tar.gz.asc \
29- && tar -xf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
30- && file / crate/jdk/bin/java \
31+ && echo $(sha256sum crate-6.2.0.tar.gz) \
32+ && tar -xzvf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
3133 && rm crate-6.2.0.tar.gz
3234
3335# Install crash
Original file line number Diff line number Diff line change 88FROM almalinux:10-kitten
99
1010# Install prerequisites and clean up repository indexes again
11- RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils tar util-linux gnupg \
11+ RUN dnf install --nodocs --assumeyes gzip python3 shadow-utils util-linux gnupg \
1212 && dnf clean all \
1313 && rm -rf /var/cache/yum
1414
15+ RUN tar --version
16+ RUN mount | column -t
17+ RUN mkdir -p /tmp/crate
18+
1519# Install CrateDB
1620RUN groupadd crate \
1721 && useradd -u 1000 -g crate -d /crate crate \
@@ -21,13 +25,15 @@ RUN groupadd crate \
2125 aarch64) echo aarch64_linux ;; \
2226 esac)" \
2327 && export CRATE_URL={{ CRATE_RELEASE_URL }}/${PLATFORM}/{{ CRATE_TAR_GZ }} \
24- && curl -fSL -O ${CRATE_URL} \
28+ && echo $CRATE_URL \
29+ && curl -v -fSL -O ${CRATE_URL} \
2530 && curl -fSL -O ${CRATE_URL}.asc \
2631 && export GNUPGHOME="$(mktemp -d)" \
2732 && gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
2833 && gpg --batch --verify {{ CRATE_TAR_GZ }}.asc {{ CRATE_TAR_GZ }} \
2934 && rm -rf "$GNUPGHOME" {{ CRATE_TAR_GZ }}.asc \
30- && tar -xf {{ CRATE_TAR_GZ }} -C /crate --strip-components=1 \
35+ && echo $(sha256sum crate-6.2.0.tar.gz) \
36+ && tar -xzvf crate-6.2.0.tar.gz -C /tmp/crate --strip-components=1 \
3137 && rm {{ CRATE_TAR_GZ }}
3238
3339# Install crash
You can’t perform that action at this time.
0 commit comments