Skip to content

Commit

Permalink
switch back to stable podman plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zyclonite committed Jul 12, 2024
1 parent ed5912c commit cbc9798
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM registry.fedoraproject.org/fedora-minimal:40

ENV NOMAD_VERSION=1.8.1 \
PODMAN_DRIVER_VERSION=0.6.0-dev \
PODMAN_DRIVER_VERSION=0.6.0 \
HASHICORP_RELEASES=https://releases.hashicorp.com \
GITHUB_RELEASES=https://github.com/hashicorp/nomad-driver-podman/releases

Expand Down Expand Up @@ -32,7 +32,11 @@ RUN microdnf -y --nodocs install gnupg2 iproute unzip shadow-utils dmidecode &&
gpg --batch --verify nomad_${NOMAD_VERSION}_SHA256SUMS.sig nomad_${NOMAD_VERSION}_SHA256SUMS && \
grep nomad_${NOMAD_VERSION}_linux_${ARCHITECTURE}.zip nomad_${NOMAD_VERSION}_SHA256SUMS | sha256sum -c && \
unzip -d /bin nomad_${NOMAD_VERSION}_linux_${ARCHITECTURE}.zip && \
curl -sL -O ${GITHUB_RELEASES}/download/nightly/nomad-driver-podman_${PODMAN_DRIVER_VERSION}_linux_${ARCHITECTURE}.zip && \
curl -s -O ${HASHICORP_RELEASES}/nomad-driver-podman/${PODMAN_DRIVER_VERSION}/nomad-driver-podman_${PODMAN_DRIVER_VERSION}_linux_${ARCHITECTURE}.zip && \
curl -s -O ${HASHICORP_RELEASES}/nomad-driver-podman/${PODMAN_DRIVER_VERSION}/nomad-driver-podman_${PODMAN_DRIVER_VERSION}_SHA256SUMS && \
curl -s -O ${HASHICORP_RELEASES}/nomad-driver-podman/${PODMAN_DRIVER_VERSION}/nomad-driver-podman_${PODMAN_DRIVER_VERSION}_SHA256SUMS.sig && \
gpg --batch --verify nomad-driver-podman_${PODMAN_DRIVER_VERSION}_SHA256SUMS.sig nomad-driver-podman_${PODMAN_DRIVER_VERSION}_SHA256SUMS && \
grep nomad-driver-podman_${PODMAN_DRIVER_VERSION}_linux_${ARCHITECTURE}.zip nomad-driver-podman_${PODMAN_DRIVER_VERSION}_SHA256SUMS | sha256sum -c && \
unzip -d /nomad/data/plugins nomad-driver-podman_${PODMAN_DRIVER_VERSION}_linux_${ARCHITECTURE}.zip && \
microdnf -y remove unzip shadow-utils libsemanage && microdnf clean all && \
rm -f /etc/fedora-release /etc/redhat-release /etc/system-release /etc/system-release-cpe && \
Expand Down

0 comments on commit cbc9798

Please sign in to comment.