-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build per version UBI images for Nodejs, Python and Dotnet. We don't build Nodejs 22 or Python 3.10 as these are no prebuilt packages for these.
- Loading branch information
Showing
11 changed files
with
129 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
# syntax = docker/dockerfile:experimental | ||
# Interim container so we can copy pulumi binaries | ||
# Must be defined first | ||
FROM redhat/ubi8-minimal:latest as builder | ||
ARG PULUMI_VERSION | ||
RUN microdnf install -y \ | ||
curl \ | ||
make \ | ||
gcc \ | ||
git \ | ||
tar \ | ||
gcc-c++ | ||
gzip \ | ||
tar | ||
# Install the Pulumi SDK, including the CLI and language runtimes. | ||
RUN curl -fsSL https://get.pulumi.com/ | bash -s -- --version $PULUMI_VERSION | ||
|
||
# The runtime container | ||
FROM redhat/ubi8-minimal:latest | ||
ARG LANGUAGE_VERSION | ||
LABEL org.opencontainers.image.description="Pulumi CLI container for nodejs" | ||
WORKDIR /pulumi/projects | ||
|
||
COPY dnf/nodejs.module /etc/dnf/modules.d/nodejs.module | ||
RUN sed -i s"/__LANGUAGE_VERSION_PLACEHOLDER__/${LANGUAGE_VERSION}/g" /etc/dnf/modules.d/nodejs.module | ||
RUN cat /etc/dnf/modules.d/nodejs.module | ||
|
||
RUN microdnf install -y \ | ||
ca-certificates \ | ||
curl \ | ||
git \ | ||
tar \ | ||
nodejs \ | ||
ca-certificates && \ | ||
tar && \ | ||
npm install -g [email protected] && \ | ||
npm install -g yarn | ||
npm install -g corepack && \ | ||
corepack install -g yarn@1 | ||
|
||
# Uses the workdir, copies from pulumi interim container | ||
COPY --from=builder /root/.pulumi/bin/pulumi /pulumi/bin/pulumi | ||
|
Oops, something went wrong.