Skip to content

Commit e602a0b

Browse files
authored
Merge pull request #536 from kaiehrhardt/docker-terramate
add terramate to container
2 parents f262111 + f83e584 commit e602a0b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
FROM golang:1.21 AS builder
16+
FROM golang:1.24 AS builder
1717

1818
ENV CGO_ENABLED=0 \
1919
GOOS=linux \
@@ -31,6 +31,7 @@ RUN go get -u ./cmd/atmos \
3131
&& go get -u ./cmd/tenv \
3232
&& go get -u ./cmd/terraform \
3333
&& go get -u ./cmd/terragrunt \
34+
&& go get -u ./cmd/terramate \
3435
&& go get -u ./cmd/tf \
3536
&& go get -u ./cmd/tofu \
3637
&& go mod tidy
@@ -39,6 +40,7 @@ RUN go build -ldflags="-s -w" -o atmos ./cmd/atmos \
3940
&& go build -ldflags="-s -w" -o tenv ./cmd/tenv \
4041
&& go build -ldflags="-s -w" -o terraform ./cmd/terraform \
4142
&& go build -ldflags="-s -w" -o terragrunt ./cmd/terragrunt \
43+
&& go build -ldflags="-s -w" -o terramate ./cmd/terramate \
4244
&& go build -ldflags="-s -w" -o tf ./cmd/tf \
4345
&& go build -ldflags="-s -w" -o tofu ./cmd/tofu
4446

@@ -51,6 +53,7 @@ COPY --from=builder go/src/github.com/tofuutils/tenv/atmos /usr/local/bin/atmos
5153
COPY --from=builder go/src/github.com/tofuutils/tenv/tenv /usr/local/bin/tenv
5254
COPY --from=builder go/src/github.com/tofuutils/tenv/terraform /usr/local/bin/terraform
5355
COPY --from=builder go/src/github.com/tofuutils/tenv/terragrunt /usr/local/bin/terragrunt
56+
COPY --from=builder go/src/github.com/tofuutils/tenv/terramate /usr/local/bin/terramate
5457
COPY --from=builder go/src/github.com/tofuutils/tenv/tf /usr/local/bin/tf
5558
COPY --from=builder go/src/github.com/tofuutils/tenv/tofu /usr/local/bin/tofu
5659

Dockerfile.goreleaser

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ COPY atmos /usr/local/bin/atmos
2222
COPY tenv /usr/local/bin/tenv
2323
COPY terraform /usr/local/bin/terraform
2424
COPY terragrunt /usr/local/bin/terragrunt
25+
COPY terramate /usr/local/bin/terramate
2526
COPY tf /usr/local/bin/tf
2627
COPY tofu /usr/local/bin/tofu
2728

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ build: get fmt ## Build service binary.
3636
go build -o ./build/tofu ./cmd/tofu
3737
go build -o ./build/terraform ./cmd/terraform
3838
go build -o ./build/terragrunt ./cmd/terragrunt
39+
go build -o ./build/terramate ./cmd/terramate
3940
go build -o ./build/atmos ./cmd/atmos
4041

4142
##@ Run
@@ -52,7 +53,7 @@ test: ## Run Go tests
5253

5354
##@ E2e_test
5455
e2e_test: build ## Run e2e Go tests
55-
TENV_BIN="$(CURDIR)/build/tenv" go test -tags=e2e ./test/e2e/... -v
56+
TENV_BIN="$(CURDIR)/build/tenv" go test -tags=e2e ./test/e2e/... -v
5657

5758
##@ Clean
5859
clean:

0 commit comments

Comments
 (0)