Skip to content

Commit

Permalink
update fedora and ubuntu to use latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Jun 27, 2023
1 parent da3c3c2 commit 206971d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build-support/docker/Verify-Release-Amazon.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ RUN yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux
ARG PACKAGE=consul \
ARG VERSION \
ARG SUFFIX=1
RUN yum install -y ${PACKAGE}-${VERSION}-${SUFFIX}
RUN yum install -y ${PACKAGE}-${VERSION}-${SUFFIX}
4 changes: 2 additions & 2 deletions build-support/docker/Verify-Release-Fedora.dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

FROM fedora:36
FROM fedora:latest
RUN dnf install -y dnf-plugins-core
RUN dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo
ARG PACKAGE=consul \
ARG VERSION \
ARG SUFFIX=1
RUN dnf install -y ${PACKAGE}-${VERSION}-${SUFFIX}
RUN dnf install -y ${PACKAGE}-${VERSION}-${SUFFIX}
4 changes: 2 additions & 2 deletions build-support/docker/Verify-Release-Ubuntu.dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

FROM ubuntu:22.04
FROM ubuntu:latest
RUN apt update && apt install -y software-properties-common curl
RUN curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
ARG TARGETARCH=amd64
RUN apt-add-repository "deb [arch=${TARGETARCH}] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
ARG PACKAGE=consul \
ARG VERSION \
ARG SUFFIX=1
RUN apt-get update && apt-get install -y ${PACKAGE}=${VERSION}-${SUFFIX}
RUN apt-get update && apt-get install -y ${PACKAGE}=${VERSION}-${SUFFIX}

0 comments on commit 206971d

Please sign in to comment.