File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed
Expand file tree Collapse file tree 3 files changed +18
-6
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 :
1015 arch : [linux/amd64, 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
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 \
@@ -26,8 +28,8 @@ RUN groupadd crate \
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+
1517# Install CrateDB
1618RUN groupadd crate \
1719 && useradd -u 1000 -g crate -d /crate crate \
@@ -27,7 +29,8 @@ RUN groupadd crate \
2729 && gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 90C23FC6585BC0717F8FBFC37FAAE51A06F6EAEB \
2830 && gpg --batch --verify {{ CRATE_TAR_GZ }}.asc {{ CRATE_TAR_GZ }} \
2931 && rm -rf "$GNUPGHOME" {{ CRATE_TAR_GZ }}.asc \
30- && tar -xf {{ CRATE_TAR_GZ }} -C /crate --strip-components=1 \
32+ && echo $(sha256sum crate-6.2.0.tar.gz) \
33+ && tar -xzvf crate-6.2.0.tar.gz -C /crate --strip-components=1 \
3134 && rm {{ CRATE_TAR_GZ }}
3235
3336# Install crash
You can’t perform that action at this time.
0 commit comments