/
githubmirror
/
terraform
Обзор
Документация
Войти
/
githubmirror
/
terraform
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Dockerfile
26 строк
891 B
Radek Simko
make copyrightfix
17 фев 2026, 16:56
17 фев 2026, 16:56
0fe906f
Код
Авторство
О чём код?
# Copyright IBM Corp. 2014, 2026 # SPDX-License-Identifier: BUSL-1.1 # This Dockerfile builds on golang:alpine by building Terraform from source # using the current working directory. # # This produces a docker image that contains a working Terraform binary along # with all of its source code. This is not what produces the official releases # in the "terraform" namespace on Dockerhub; those images include only # the officially-released binary from releases.hashicorp.com and are # built by the (closed-source) official release process. FROM docker.mirror.hashicorp.services/golang:alpine LABEL maintainer="HashiCorp Terraform Team <terraform@hashicorp.com>" RUN apk add --no-cache git bash openssh ca-certificates ENV TF_DEV=true ENV TF_RELEASE=1 WORKDIR $GOPATH/src/github.com/hashicorp/terraform COPY . . RUN /bin/bash ./scripts/build.sh WORKDIR $GOPATH ENTRYPOINT ["terraform"]