add oci/iac-runner/pulumi-aws
This commit is contained in:
parent
3cc78ac2c3
commit
875fc40467
23
oci/iac-runner/pulumi-aws/Dockerfile
Normal file
23
oci/iac-runner/pulumi-aws/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
||||
FROM debian:11-slim AS builder
|
||||
ARG PULUMI_VERSION
|
||||
RUN apt-get update -y && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y \
|
||||
curl \
|
||||
build-essential \
|
||||
git
|
||||
|
||||
# Install the Pulumi SDK, including the CLI and language runtimes.
|
||||
RUN curl -fsSL https://get.pulumi.com/ | bash -s -- --version $PULUMI_VERSION
|
||||
|
||||
|
||||
FROM artifact.onwalk.net/k8s/alpine-glibc:2.4.3 as prod
|
||||
LABEL maintainer="Haitao Pan <xz@onwalk.net>"
|
||||
|
||||
ENV PATH "/pulumi/bin:${PATH}"
|
||||
|
||||
WORKDIR /pulumi
|
||||
COPY --from=builder /root/.pulumi/bin bin
|
||||
RUN apk add --update --no-cache ca-certificates openssh-client git bash wget make curl jq py3-pip unzip zip
|
||||
|
||||
CMD ["pulumi"]
|
||||
4
oci/iac-runner/pulumi-aws/Makefile
Executable file
4
oci/iac-runner/pulumi-aws/Makefile
Executable file
@ -0,0 +1,4 @@
|
||||
Makefileall:
|
||||
cp -av ~/.terraform.d/ .
|
||||
sudo docker build --network host --no-cache -t artifact.onwalk.net/devops/iac-runner:latest .
|
||||
sudo docker push artifact.onwalk.net/devops/iac-runner:latest
|
||||
2
oci/iac-runner/pulumi-aws/repositories
Executable file
2
oci/iac-runner/pulumi-aws/repositories
Executable file
@ -0,0 +1,2 @@
|
||||
https://mirrors.ustc.edu.cn/alpine/v3.15/main
|
||||
https://mirrors.ustc.edu.cn/alpine/v3.15/community
|
||||
Loading…
Reference in New Issue
Block a user