mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
3368f14fab
* adding docker files to verify linux packages. * add verifr-release-linux.yml * updating name * pass inputs directly into jobs * add other linux package platforms * remove on push * fix TARGETARCH on debian and ubuntu so it can check arm64 and amd64 * fixing amazon to use the continue line * add ubuntu i386 * fix comment lines * working * remove commented out workflow jobs * Apply suggestions from code review Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com> * update fedora and ubuntu to use latest tag --------- Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
12 lines
480 B
Docker
12 lines
480 B
Docker
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
|
|
FROM debian:bullseye
|
|
RUN apt update && apt install -y software-properties-common curl gnupg
|
|
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} |