Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiny-build stuff #454

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 6 additions & 11 deletions tiny-build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
FROM hairyhenderson/gomplate:v3.11.6-slim AS gomplate
FROM docker:23.0.1 AS docker
FROM docker/compose:1.29.2 AS compose
FROM vault:1.9.3 AS vault
FROM vault:1.13.3 AS vault
FROM hashicorp/terraform:1.6.6 AS terraform
FROM hashicorp/packer:1.7.10 AS packer
FROM prom/prometheus:v2.41.0 AS prometheus
FROM prom/alertmanager:v0.24.0 AS alertmanager
FROM grafana/cortex-tools:v0.10.7 AS cortextool
FROM hashicorp/packer:1.10 AS packer
FROM prom/prometheus:v2.45.2 AS prometheus
FROM prom/alertmanager:v0.26.0 AS alertmanager
FROM grafana/cortex-tools:v0.11.0 AS cortextool
FROM mikefarah/yq:4.31.2 AS yq
FROM lachlanevenson/k8s-kubectl:v1.25.4 AS kubectl
FROM lachlanevenson/k8s-helm:v3.10.2 AS helm2
FROM lachlanevenson/k8s-helm:v3.10.2 AS helm
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:371.0.0-alpine AS google-cloud-sdk
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:427.0.0-alpine AS google-cloud-sdk
FROM instrumenta/conftest:v0.21.0 AS conftest

FROM alpine:3.19 AS cc-test-reporter
Expand Down Expand Up @@ -56,8 +55,6 @@ RUN mkdir hub && \

RUN ln -s /usr/local/bin/helm /usr/local/bin/helm3

FROM alpine:3.19 AS build

COPY --from=gomplate /gomplate /bin/gomplate
COPY --from=docker /usr/local/bin/docker /bin/docker
COPY --from=vault /bin/vault /bin/vault
Expand All @@ -69,7 +66,6 @@ COPY --from=cortextool /usr/bin/cortextool /bin/cortextool
COPY --from=yq /usr/bin/yq /usr/bin/yq
COPY --from=compose /usr/local/bin/docker-compose /bin/docker-compose
COPY --from=kubectl /usr/local/bin/kubectl /usr/local/bin/kubectl
COPY --from=helm2 /usr/local/bin/helm /usr/local/bin/helm2
COPY --from=helm /usr/local/bin/helm /usr/local/bin/helm
COPY --from=cc-test-reporter /bin/cc-test-reporter /bin/cc-test-reporter
COPY --from=google-cloud-sdk /google-cloud-sdk/bin/ /usr/local/bin/
Expand All @@ -78,4 +74,3 @@ COPY --from=google-cloud-sdk /google-cloud-sdk/platform/ /usr/local/platform/
COPY --from=google-cloud-sdk /google-cloud-sdk/.install/ /usr/local/.install/
COPY --from=conftest /usr/local/bin/conftest /usr/local/bin/conftest

COPY --from=packages / /
Loading