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

Release v1.11.0 #36

Merged
merged 1 commit into from
Oct 26, 2020
Merged
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
28 changes: 28 additions & 0 deletions 1.11/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# vim:set ft=dockerfile:

FROM cimg/base:2020.09

LABEL maintainer="Community & Partner Engineering Team <[email protected]>"

# Install Erlang via Erlang Solutions' .deb
ENV ERLANG_VERSION="23.1"
RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends \
libncurses5 \
libodbc1 \
libsctp1 \
libwxgtk3.0 && \
erlangDEB="https://packages.erlang-solutions.com/erlang/debian/pool/esl-erlang_${ERLANG_VERSION}-1~ubuntu~focal_amd64.deb" && \
curl -sSL -o erlang.deb $erlangDEB && \
sudo dpkg -i erlang.deb && \
sudo rm -rf erlang.deb /var/lib/apt/lists/*

# Install Elixir via Erlang Solutions' .deb
ENV ELIXIR_VERSION=1.11.0
RUN ELIXIR_DOWNLOAD_URL="https://github.com/elixir-lang/elixir/archive/v${ELIXIR_VERSION}.tar.gz" && \
curl -fSL -o elixir-src.tar.gz $ELIXIR_DOWNLOAD_URL && \
sudo mkdir -p /usr/local/src/elixir && \
sudo tar -xzC /usr/local/src/elixir --strip-components=1 -f elixir-src.tar.gz && \
rm elixir-src.tar.gz && \
cd /usr/local/src/elixir && \
sudo make install clean && \
elixir --version
39 changes: 39 additions & 0 deletions 1.11/browsers/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# vim:set ft=dockerfile:

FROM cimg/elixir:1.11.0-node

LABEL maintainer="CircleCI Community & Partner Engineering Team <[email protected]>"

# Install Selenium
ENV SELENIUM_VER=3.141.59
RUN curl -sSL -o selenium-server-standalone-${SELENIUM_VER}.jar "https://selenium-release.storage.googleapis.com/${SELENIUM_VER%.*}/selenium-server-standalone-${SELENIUM_VER}.jar" && \
sudo cp selenium-server-standalone-${SELENIUM_VER}.jar /usr/local/bin/selenium.jar && \
rm selenium-server-standalone-${SELENIUM_VER}.jar

RUN sudo apt-get update && \
# Firefox deps
sudo apt-get install -y --no-install-recommends --no-upgrade \
libdbus-glib-1-2 \
libgtk-3-dev \
libxt6 \
&& \
# Google Chrome deps
sudo apt-get install -y --no-install-recommends --no-upgrade \
fonts-liberation \
libappindicator3-1 \
libasound2 \
libatk-bridge2.0-0 \
libatspi2.0-0 \
libcairo2 \
libcups2 \
libgbm1 \
libgdk-pixbuf2.0-0 \
libgtk-3-0 \
libpango-1.0-0 \
libpangocairo-1.0-0 \
libxcursor1 \
# java for selenium
openjdk-11-jre \
xdg-utils \
&& \
sudo rm -rf /var/lib/apt/lists/*
20 changes: 20 additions & 0 deletions 1.11/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# vim:set ft=dockerfile:

FROM cimg/elixir:1.11.0

LABEL maintainer="Community & Partner Engineering Team <[email protected]>"

# Dockerfile will pull the latest LTS release from cimg-node.
RUN curl -sSL "https://raw.githubusercontent.com/CircleCI-Public/cimg-node/master/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" && \
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.4
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 && \
sudo ln -s /opt/yarn-v${YARN_VERSION}/bin/yarn /usr/local/bin/yarn && \
sudo ln -s /opt/yarn-v${YARN_VERSION}/bin/yarnpkg /usr/local/bin/yarnpkg
7 changes: 3 additions & 4 deletions build-images.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env bash

docker build --file 1.9/Dockerfile -t cimg/elixir:1.9.4 -t cimg/elixir:1.9 .
docker build --file 1.9/node/Dockerfile -t cimg/elixir:1.9.4-node -t cimg/elixir:1.9-node .
docker build --file 1.10/Dockerfile -t cimg/elixir:1.10.4 -t cimg/elixir:1.10 .
docker build --file 1.10/node/Dockerfile -t cimg/elixir:1.10.4-node -t cimg/elixir:1.10-node .
docker build --file 1.11/Dockerfile -t cimg/elixir:1.11.0 -t cimg/elixir:1.11 .
docker build --file 1.11/node/Dockerfile -t cimg/elixir:1.11.0-node -t cimg/elixir:1.11-node .
docker build --file 1.11/browsers/Dockerfile -t cimg/elixir:1.11.0-browsers -t cimg/elixir:1.11-browsers .