-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into branch-coverage
- Loading branch information
Showing
620 changed files
with
10,402 additions
and
3,079 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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Current version: https://github.com/cpuguy83/docker-jruby/blob/db08637839406420a254a9c825d94994cded5021/9000/jre/Dockerfile | ||
FROM jruby:9.2.0.0 | ||
|
||
# Make apt non-interactive | ||
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \ | ||
&& echo 'DPkg::Options "--force-confnew";' >> /etc/apt/apt.conf.d/90circleci | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install required packages | ||
RUN set -ex; \ | ||
apt-get update; \ | ||
mkdir -p /usr/share/man/man1; \ | ||
apt-get install -y --no-install-recommends \ | ||
git mercurial xvfb \ | ||
locales sudo openssh-client ca-certificates tar gzip parallel \ | ||
net-tools netcat unzip zip bzip2 gnupg curl wget \ | ||
tzdata rsync vim \ | ||
build-essential; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
# Set timezone to UTC by default | ||
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime | ||
|
||
# Set language | ||
RUN locale-gen en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
|
||
# Install jq | ||
RUN JQ_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/jq-latest" \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /usr/bin/jq $JQ_URL \ | ||
&& chmod +x /usr/bin/jq \ | ||
&& jq --version | ||
|
||
# Install Docker | ||
RUN set -ex \ | ||
&& export DOCKER_VERSION=$(curl --silent --fail --retry 3 https://download.docker.com/linux/static/stable/x86_64/ | grep -o -e 'docker-[.0-9]*-ce\.tgz' | sort -r | head -n 1) \ | ||
&& DOCKER_URL="https://download.docker.com/linux/static/stable/x86_64/${DOCKER_VERSION}" \ | ||
&& echo Docker URL: $DOCKER_URL \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/docker.tgz "${DOCKER_URL}" \ | ||
&& ls -lha /tmp/docker.tgz \ | ||
&& tar -xz -C /tmp -f /tmp/docker.tgz \ | ||
&& mv /tmp/docker/* /usr/bin \ | ||
&& rm -rf /tmp/docker /tmp/docker.tgz \ | ||
&& which docker \ | ||
&& (docker version || true) | ||
|
||
# Install Docker Compose | ||
RUN COMPOSE_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/docker-compose-latest" \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /usr/bin/docker-compose $COMPOSE_URL \ | ||
&& chmod +x /usr/bin/docker-compose \ | ||
&& docker-compose version | ||
|
||
# Install Dockerize | ||
RUN DOCKERIZE_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/dockerize-latest.tar.gz" \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/dockerize-linux-amd64.tar.gz $DOCKERIZE_URL \ | ||
&& tar -C /usr/local/bin -xzvf /tmp/dockerize-linux-amd64.tar.gz \ | ||
&& rm -rf /tmp/dockerize-linux-amd64.tar.gz \ | ||
&& dockerize --version | ||
|
||
# Install RubyGems | ||
RUN gem update --system | ||
RUN mkdir -p "$GEM_HOME" && chmod -R 777 "$GEM_HOME" | ||
ENV BUNDLE_SILENCE_ROOT_WARNING 1 | ||
|
||
# Ensure JRuby is available when running "bash --login" | ||
RUN echo "export PATH=/opt/jruby/bin:$BUNDLE_BIN:\$PATH" >> ~/.profile | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
|
||
CMD ["bin", "bash", "--login"] |
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 |
---|---|---|
@@ -0,0 +1,73 @@ | ||
FROM flavorjones/truffleruby:21.0.0-buster | ||
|
||
# Make apt non-interactive | ||
RUN echo 'APT::Get::Assume-Yes "true";' > /etc/apt/apt.conf.d/90circleci \ | ||
&& echo 'DPkg::Options "--force-confnew";' >> /etc/apt/apt.conf.d/90circleci | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install required packages | ||
RUN set -ex; \ | ||
apt-get update; \ | ||
mkdir -p /usr/share/man/man1; \ | ||
apt-get install -y --no-install-recommends \ | ||
git mercurial xvfb \ | ||
locales sudo openssh-client ca-certificates tar gzip parallel \ | ||
net-tools netcat unzip zip bzip2 gnupg curl wget \ | ||
tzdata rsync vim; \ | ||
rm -rf /var/lib/apt/lists/*; | ||
|
||
# Set timezone to UTC by default | ||
RUN ln -sf /usr/share/zoneinfo/Etc/UTC /etc/localtime | ||
|
||
# Set language | ||
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen | ||
RUN locale-gen en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
ENV LANGUAGE en_US:en | ||
|
||
# Install jq | ||
RUN JQ_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/jq-latest" \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /usr/bin/jq $JQ_URL \ | ||
&& chmod +x /usr/bin/jq \ | ||
&& jq --version | ||
|
||
# Install Docker | ||
RUN set -ex \ | ||
&& export DOCKER_VERSION=$(curl --silent --fail --retry 3 https://download.docker.com/linux/static/stable/x86_64/ | grep -o -e 'docker-[.0-9]*-ce\.tgz' | sort -r | head -n 1) \ | ||
&& DOCKER_URL="https://download.docker.com/linux/static/stable/x86_64/${DOCKER_VERSION}" \ | ||
&& echo Docker URL: $DOCKER_URL \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/docker.tgz "${DOCKER_URL}" \ | ||
&& ls -lha /tmp/docker.tgz \ | ||
&& tar -xz -C /tmp -f /tmp/docker.tgz \ | ||
&& mv /tmp/docker/* /usr/bin \ | ||
&& rm -rf /tmp/docker /tmp/docker.tgz \ | ||
&& which docker \ | ||
&& (docker version || true) | ||
|
||
# Install Docker Compose | ||
RUN COMPOSE_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/docker-compose-latest" \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /usr/bin/docker-compose $COMPOSE_URL \ | ||
&& chmod +x /usr/bin/docker-compose \ | ||
&& docker-compose version | ||
|
||
# Install Dockerize | ||
RUN DOCKERIZE_URL="https://circle-downloads.s3.amazonaws.com/circleci-images/cache/linux-amd64/dockerize-latest.tar.gz" \ | ||
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/dockerize-linux-amd64.tar.gz $DOCKERIZE_URL \ | ||
&& tar -C /usr/local/bin -xzvf /tmp/dockerize-linux-amd64.tar.gz \ | ||
&& rm -rf /tmp/dockerize-linux-amd64.tar.gz \ | ||
&& dockerize --version | ||
|
||
# Install RubyGems | ||
RUN gem update --system | ||
RUN mkdir -p "$GEM_HOME" && chmod -R 777 "$GEM_HOME" | ||
|
||
# Upgrade RubyGems and Bundler | ||
RUN gem update --system | ||
RUN gem install bundler | ||
ENV BUNDLE_SILENCE_ROOT_WARNING 1 | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
|
||
CMD ["/bin/sh"] |
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
Oops, something went wrong.