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

arm64 support #53

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
cimg: circleci/[email protected].0
cimg: circleci/[email protected].3

workflows:
main-wf:
Expand Down
14 changes: 8 additions & 6 deletions 1.10/11.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@

FROM cimg/openjdk:11.0

LABEL maintainer="Community & Partner Engineering Team <community-partner@circleci.com>"
LABEL maintainer="CircleCI Execution Team <eng-execution@circleci.com>"

ENV CLOJURE_VERSION=1.10.3
ENV CLOJURE_VERSION=1.10.3 \
PATH=$JAVA_HOME/bin:$PATH

# Setup the primary install method for Clojure, using CLJ. It unfortunately
# requires the Clojure version as well as the build number (?), thus a
# parameter (param1) is used.
RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linux-install-1.10.3.1069.sh" && \
RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linux-install-1.10.3.1058.sh" && \
chmod +x clojure-installer.sh && \
sudo ./clojure-installer.sh && \
rm clojure-installer.sh

ENV LEIN_VERSION=2.9.10
ENV LEIN_VERSION=2.10.0
RUN mkdir -p $HOME/bin && \
# the above line can go in the next base image update
curl -sSL -o $HOME/bin/lein "https://raw.githubusercontent.com/technomancy/leiningen/${LEIN_VERSION}/bin/lein" && \
Expand All @@ -25,7 +26,8 @@ RUN mkdir -p $HOME/bin && \
rm -r project.clj target/

# Install tooling
ENV BABASHKA_VERSION=0.9.161
RUN curl -sSL "https://github.com/babashka/babashka/releases/download/v0.7.4/babashka-0.7.4-linux-amd64-static.tar.gz" \
ENV BABASHKA_VERSION=0.10.163
RUN [[ $(uname -m) == "x86_64" ]] && ARCH="amd64" || ARCH="aarch64" && \
curl -sSL "https://github.com/babashka/babashka/releases/download/v${BABASHKA_VERSION}/babashka-${BABASHKA_VERSION}-linux-${ARCH}-static.tar.gz" \
| sudo tar -xz -C /usr/local/bin/ && \
bb --version
20 changes: 10 additions & 10 deletions 1.10/11.0/browsers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ RUN curl -sSL -o selenium-server-standalone-${SELENIUM_VER}.jar "https://seleniu
rm selenium-server-standalone-${SELENIUM_VER}.jar

RUN sudo apt-get update && \
sudo apt-get install --yes --no-install-recommends \
xvfb \
&& \

# Install Java only if it's not already available
# Java is installed for Selenium
Expand All @@ -32,25 +35,22 @@ RUN printf '#!/bin/sh\nXvfb :99 -screen 0 1280x1024x24 &\nexec "$@"\n' | sudo te
sudo chmod +x /docker-entrypoint.sh

# Install a single version of Firefox. This isn't intended to be a regularly
# updated thing. Instead, if this version of Firefox isn't want the end user
# updated thing. Instead, if this version of Firefox isn't what the end user
# wants they should install a different version via the Browser Tools Orb.
#
# Canonical made a major technology change in how Firefox is installed from
# Ubuntu 21.10 and up. The general CI space doesn't seem to be ready for a snap
# based Firefox right now so we are installing the original deb based version
# from Ubuntu Focal, even if the current Ubuntu version is newer.
RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main' | sudo tee /etc/apt/sources.list.d/firefox.list && \
echo 'Package: firefox' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin: release n=focal' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin-Priority: 500' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \

sudo apt-get update && \
# based Firefox right now so we are installing it from the Mozilla PPA.
RUN echo 'Package: *' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin: release o=LP-PPA-mozillateam' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin-Priority: 1001' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
sudo add-apt-repository --yes ppa:mozillateam/ppa && \
sudo apt-get install --no-install-recommends --yes firefox && \
sudo rm -rf /var/lib/apt/lists/* && \
firefox --version

# Install a single version of Google Chrome Stable. This isn't intended to be a
# regularly updated thing. Instead, if this version of Chrome isn't want the
# regularly updated thing. Instead, if this version of Chrome isn't what the
# end user wants they should install a different version via the Browser Tools
# Orb.
RUN wget -q -O - "https://dl.google.com/linux/linux_signing_key.pub" | sudo apt-key add - && \
Expand Down
5 changes: 3 additions & 2 deletions 1.10/11.0/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ LABEL maintainer="Community & Partner Engineering Team <community-partner@circle
# Dockerfile will pull the latest LTS release from cimg-node.
RUN curl -sSL "https://raw.githubusercontent.com/CircleCI-Public/cimg-node/main/ALIASES" -o nodeAliases.txt && \
NODE_VERSION=$(grep "lts" ./nodeAliases.txt | cut -d "=" -f 2-) && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" && \
[[ $(uname -m) == "x86_64" ]] && ARCH="x64" || ARCH="arm64" && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" && \
sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz nodeAliases.txt && \
sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs

ENV YARN_VERSION 1.22.18
ENV YARN_VERSION 1.22.19
RUN curl -L -o yarn.tar.gz "https://yarnpkg.com/downloads/${YARN_VERSION}/yarn-v${YARN_VERSION}.tar.gz" && \
sudo tar -xzf yarn.tar.gz -C /opt/ && \
rm yarn.tar.gz && \
Expand Down
14 changes: 8 additions & 6 deletions 1.10/17.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@

FROM cimg/openjdk:17.0

LABEL maintainer="Community & Partner Engineering Team <community-partner@circleci.com>"
LABEL maintainer="CircleCI Execution Team <eng-execution@circleci.com>"

ENV CLOJURE_VERSION=1.10.3
ENV CLOJURE_VERSION=1.10.3 \
PATH=$JAVA_HOME/bin:$PATH

# Setup the primary install method for Clojure, using CLJ. It unfortunately
# requires the Clojure version as well as the build number (?), thus a
# parameter (param1) is used.
RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linux-install-1.10.3.1069.sh" && \
RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linux-install-1.10.3.1058.sh" && \
chmod +x clojure-installer.sh && \
sudo ./clojure-installer.sh && \
rm clojure-installer.sh

ENV LEIN_VERSION=2.9.10
ENV LEIN_VERSION=2.10.0
RUN mkdir -p $HOME/bin && \
# the above line can go in the next base image update
curl -sSL -o $HOME/bin/lein "https://raw.githubusercontent.com/technomancy/leiningen/${LEIN_VERSION}/bin/lein" && \
Expand All @@ -25,7 +26,8 @@ RUN mkdir -p $HOME/bin && \
rm -r project.clj target/

# Install tooling
ENV BABASHKA_VERSION=0.9.161
RUN curl -sSL "https://github.com/babashka/babashka/releases/download/v0.7.4/babashka-0.7.4-linux-amd64-static.tar.gz" \
ENV BABASHKA_VERSION=0.10.163
RUN [[ $(uname -m) == "x86_64" ]] && ARCH="amd64" || ARCH="aarch64" && \
curl -sSL "https://github.com/babashka/babashka/releases/download/v${BABASHKA_VERSION}/babashka-${BABASHKA_VERSION}-linux-${ARCH}-static.tar.gz" \
| sudo tar -xz -C /usr/local/bin/ && \
bb --version
20 changes: 10 additions & 10 deletions 1.10/17.0/browsers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ RUN curl -sSL -o selenium-server-standalone-${SELENIUM_VER}.jar "https://seleniu
rm selenium-server-standalone-${SELENIUM_VER}.jar

RUN sudo apt-get update && \
sudo apt-get install --yes --no-install-recommends \
xvfb \
&& \

# Install Java only if it's not already available
# Java is installed for Selenium
Expand All @@ -32,25 +35,22 @@ RUN printf '#!/bin/sh\nXvfb :99 -screen 0 1280x1024x24 &\nexec "$@"\n' | sudo te
sudo chmod +x /docker-entrypoint.sh

# Install a single version of Firefox. This isn't intended to be a regularly
# updated thing. Instead, if this version of Firefox isn't want the end user
# updated thing. Instead, if this version of Firefox isn't what the end user
# wants they should install a different version via the Browser Tools Orb.
#
# Canonical made a major technology change in how Firefox is installed from
# Ubuntu 21.10 and up. The general CI space doesn't seem to be ready for a snap
# based Firefox right now so we are installing the original deb based version
# from Ubuntu Focal, even if the current Ubuntu version is newer.
RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main' | sudo tee /etc/apt/sources.list.d/firefox.list && \
echo 'Package: firefox' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin: release n=focal' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin-Priority: 500' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \

sudo apt-get update && \
# based Firefox right now so we are installing it from the Mozilla PPA.
RUN echo 'Package: *' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin: release o=LP-PPA-mozillateam' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin-Priority: 1001' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
sudo add-apt-repository --yes ppa:mozillateam/ppa && \
sudo apt-get install --no-install-recommends --yes firefox && \
sudo rm -rf /var/lib/apt/lists/* && \
firefox --version

# Install a single version of Google Chrome Stable. This isn't intended to be a
# regularly updated thing. Instead, if this version of Chrome isn't want the
# regularly updated thing. Instead, if this version of Chrome isn't what the
# end user wants they should install a different version via the Browser Tools
# Orb.
RUN wget -q -O - "https://dl.google.com/linux/linux_signing_key.pub" | sudo apt-key add - && \
Expand Down
5 changes: 3 additions & 2 deletions 1.10/17.0/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ LABEL maintainer="Community & Partner Engineering Team <community-partner@circle
# Dockerfile will pull the latest LTS release from cimg-node.
RUN curl -sSL "https://raw.githubusercontent.com/CircleCI-Public/cimg-node/main/ALIASES" -o nodeAliases.txt && \
NODE_VERSION=$(grep "lts" ./nodeAliases.txt | cut -d "=" -f 2-) && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" && \
[[ $(uname -m) == "x86_64" ]] && ARCH="x64" || ARCH="arm64" && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" && \
sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz nodeAliases.txt && \
sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs

ENV YARN_VERSION 1.22.18
ENV YARN_VERSION 1.22.19
RUN curl -L -o yarn.tar.gz "https://yarnpkg.com/downloads/${YARN_VERSION}/yarn-v${YARN_VERSION}.tar.gz" && \
sudo tar -xzf yarn.tar.gz -C /opt/ && \
rm yarn.tar.gz && \
Expand Down
14 changes: 8 additions & 6 deletions 1.10/8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@

FROM cimg/openjdk:8.0

LABEL maintainer="Community & Partner Engineering Team <community-partner@circleci.com>"
LABEL maintainer="CircleCI Execution Team <eng-execution@circleci.com>"

ENV CLOJURE_VERSION=1.10.3
ENV CLOJURE_VERSION=1.10.3 \
PATH=$JAVA_HOME/bin:$PATH

# Setup the primary install method for Clojure, using CLJ. It unfortunately
# requires the Clojure version as well as the build number (?), thus a
# parameter (param1) is used.
RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linux-install-1.10.3.1069.sh" && \
RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linux-install-1.10.3.1058.sh" && \
chmod +x clojure-installer.sh && \
sudo ./clojure-installer.sh && \
rm clojure-installer.sh

ENV LEIN_VERSION=2.9.10
ENV LEIN_VERSION=2.10.0
RUN mkdir -p $HOME/bin && \
# the above line can go in the next base image update
curl -sSL -o $HOME/bin/lein "https://raw.githubusercontent.com/technomancy/leiningen/${LEIN_VERSION}/bin/lein" && \
Expand All @@ -25,7 +26,8 @@ RUN mkdir -p $HOME/bin && \
rm -r project.clj target/

# Install tooling
ENV BABASHKA_VERSION=0.9.161
RUN curl -sSL "https://github.com/babashka/babashka/releases/download/v0.7.4/babashka-0.7.4-linux-amd64-static.tar.gz" \
ENV BABASHKA_VERSION=0.10.163
RUN [[ $(uname -m) == "x86_64" ]] && ARCH="amd64" || ARCH="aarch64" && \
curl -sSL "https://github.com/babashka/babashka/releases/download/v${BABASHKA_VERSION}/babashka-${BABASHKA_VERSION}-linux-${ARCH}-static.tar.gz" \
| sudo tar -xz -C /usr/local/bin/ && \
bb --version
20 changes: 10 additions & 10 deletions 1.10/8.0/browsers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ RUN curl -sSL -o selenium-server-standalone-${SELENIUM_VER}.jar "https://seleniu
rm selenium-server-standalone-${SELENIUM_VER}.jar

RUN sudo apt-get update && \
sudo apt-get install --yes --no-install-recommends \
xvfb \
&& \

# Install Java only if it's not already available
# Java is installed for Selenium
Expand All @@ -32,25 +35,22 @@ RUN printf '#!/bin/sh\nXvfb :99 -screen 0 1280x1024x24 &\nexec "$@"\n' | sudo te
sudo chmod +x /docker-entrypoint.sh

# Install a single version of Firefox. This isn't intended to be a regularly
# updated thing. Instead, if this version of Firefox isn't want the end user
# updated thing. Instead, if this version of Firefox isn't what the end user
# wants they should install a different version via the Browser Tools Orb.
#
# Canonical made a major technology change in how Firefox is installed from
# Ubuntu 21.10 and up. The general CI space doesn't seem to be ready for a snap
# based Firefox right now so we are installing the original deb based version
# from Ubuntu Focal, even if the current Ubuntu version is newer.
RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ focal-updates main' | sudo tee /etc/apt/sources.list.d/firefox.list && \
echo 'Package: firefox' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin: release n=focal' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin-Priority: 500' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \

sudo apt-get update && \
# based Firefox right now so we are installing it from the Mozilla PPA.
RUN echo 'Package: *' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin: release o=LP-PPA-mozillateam' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
echo 'Pin-Priority: 1001' | sudo tee -a /etc/apt/preferences.d/firefox.pref && \
sudo add-apt-repository --yes ppa:mozillateam/ppa && \
sudo apt-get install --no-install-recommends --yes firefox && \
sudo rm -rf /var/lib/apt/lists/* && \
firefox --version

# Install a single version of Google Chrome Stable. This isn't intended to be a
# regularly updated thing. Instead, if this version of Chrome isn't want the
# regularly updated thing. Instead, if this version of Chrome isn't what the
# end user wants they should install a different version via the Browser Tools
# Orb.
RUN wget -q -O - "https://dl.google.com/linux/linux_signing_key.pub" | sudo apt-key add - && \
Expand Down
5 changes: 3 additions & 2 deletions 1.10/8.0/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ LABEL maintainer="Community & Partner Engineering Team <community-partner@circle
# Dockerfile will pull the latest LTS release from cimg-node.
RUN curl -sSL "https://raw.githubusercontent.com/CircleCI-Public/cimg-node/main/ALIASES" -o nodeAliases.txt && \
NODE_VERSION=$(grep "lts" ./nodeAliases.txt | cut -d "=" -f 2-) && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" && \
[[ $(uname -m) == "x86_64" ]] && ARCH="x64" || ARCH="arm64" && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" && \
sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz nodeAliases.txt && \
sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs

ENV YARN_VERSION 1.22.18
ENV YARN_VERSION 1.22.19
RUN curl -L -o yarn.tar.gz "https://yarnpkg.com/downloads/${YARN_VERSION}/yarn-v${YARN_VERSION}.tar.gz" && \
sudo tar -xzf yarn.tar.gz -C /opt/ && \
rm yarn.tar.gz && \
Expand Down
7 changes: 4 additions & 3 deletions 1.11/11.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM cimg/openjdk:11.0

LABEL maintainer="Community & Partner Engineering Team <community-partner@circleci.com>"
LABEL maintainer="CircleCI Execution Team <eng-execution@circleci.com>"

ENV CLOJURE_VERSION=1.11.1 \
PATH=$JAVA_HOME/bin:$PATH
Expand All @@ -15,7 +15,7 @@ RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linu
sudo ./clojure-installer.sh && \
rm clojure-installer.sh

ENV LEIN_VERSION=2.9.10
ENV LEIN_VERSION=2.10.0
RUN mkdir -p $HOME/bin && \
# the above line can go in the next base image update
curl -sSL -o $HOME/bin/lein "https://raw.githubusercontent.com/technomancy/leiningen/${LEIN_VERSION}/bin/lein" && \
Expand All @@ -27,6 +27,7 @@ RUN mkdir -p $HOME/bin && \

# Install tooling
ENV BABASHKA_VERSION=0.10.163
RUN curl -sSL "https://github.com/babashka/babashka/releases/download/v${BABASHKA_VERSION}/babashka-${BABASHKA_VERSION}-linux-amd64-static.tar.gz" \
RUN [[ $(uname -m) == "x86_64" ]] && ARCH="amd64" || ARCH="aarch64" && \
curl -sSL "https://github.com/babashka/babashka/releases/download/v${BABASHKA_VERSION}/babashka-${BABASHKA_VERSION}-linux-${ARCH}-static.tar.gz" \
| sudo tar -xz -C /usr/local/bin/ && \
bb --version
5 changes: 3 additions & 2 deletions 1.11/11.0/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ LABEL maintainer="Community & Partner Engineering Team <community-partner@circle
# Dockerfile will pull the latest LTS release from cimg-node.
RUN curl -sSL "https://raw.githubusercontent.com/CircleCI-Public/cimg-node/main/ALIASES" -o nodeAliases.txt && \
NODE_VERSION=$(grep "lts" ./nodeAliases.txt | cut -d "=" -f 2-) && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" && \
[[ $(uname -m) == "x86_64" ]] && ARCH="x64" || ARCH="arm64" && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" && \
sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz nodeAliases.txt && \
sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs

ENV YARN_VERSION 1.22.18
ENV YARN_VERSION 1.22.19
RUN curl -L -o yarn.tar.gz "https://yarnpkg.com/downloads/${YARN_VERSION}/yarn-v${YARN_VERSION}.tar.gz" && \
sudo tar -xzf yarn.tar.gz -C /opt/ && \
rm yarn.tar.gz && \
Expand Down
7 changes: 4 additions & 3 deletions 1.11/17.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM cimg/openjdk:17.0

LABEL maintainer="Community & Partner Engineering Team <community-partner@circleci.com>"
LABEL maintainer="CircleCI Execution Team <eng-execution@circleci.com>"

ENV CLOJURE_VERSION=1.11.1 \
PATH=$JAVA_HOME/bin:$PATH
Expand All @@ -15,7 +15,7 @@ RUN curl -sSL -o clojure-installer.sh "https://download.clojure.org/install/linu
sudo ./clojure-installer.sh && \
rm clojure-installer.sh

ENV LEIN_VERSION=2.9.10
ENV LEIN_VERSION=2.10.0
RUN mkdir -p $HOME/bin && \
# the above line can go in the next base image update
curl -sSL -o $HOME/bin/lein "https://raw.githubusercontent.com/technomancy/leiningen/${LEIN_VERSION}/bin/lein" && \
Expand All @@ -27,6 +27,7 @@ RUN mkdir -p $HOME/bin && \

# Install tooling
ENV BABASHKA_VERSION=0.10.163
RUN curl -sSL "https://github.com/babashka/babashka/releases/download/v${BABASHKA_VERSION}/babashka-${BABASHKA_VERSION}-linux-amd64-static.tar.gz" \
RUN [[ $(uname -m) == "x86_64" ]] && ARCH="amd64" || ARCH="aarch64" && \
curl -sSL "https://github.com/babashka/babashka/releases/download/v${BABASHKA_VERSION}/babashka-${BABASHKA_VERSION}-linux-${ARCH}-static.tar.gz" \
| sudo tar -xz -C /usr/local/bin/ && \
bb --version
5 changes: 3 additions & 2 deletions 1.11/17.0/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ LABEL maintainer="Community & Partner Engineering Team <community-partner@circle
# Dockerfile will pull the latest LTS release from cimg-node.
RUN curl -sSL "https://raw.githubusercontent.com/CircleCI-Public/cimg-node/main/ALIASES" -o nodeAliases.txt && \
NODE_VERSION=$(grep "lts" ./nodeAliases.txt | cut -d "=" -f 2-) && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" && \
[[ $(uname -m) == "x86_64" ]] && ARCH="x64" || ARCH="arm64" && \
curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-${ARCH}.tar.xz" && \
sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz nodeAliases.txt && \
sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs

ENV YARN_VERSION 1.22.18
ENV YARN_VERSION 1.22.19
RUN curl -L -o yarn.tar.gz "https://yarnpkg.com/downloads/${YARN_VERSION}/yarn-v${YARN_VERSION}.tar.gz" && \
sudo tar -xzf yarn.tar.gz -C /opt/ && \
rm yarn.tar.gz && \
Expand Down
Loading