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

Adding arm64_debian build file #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
31 changes: 31 additions & 0 deletions build/arm64_debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
FROM debian:10

RUN apt-get -y update \
&& apt-get -y install \
# Needed for gpg2 and rvm installation.
curl \
gnupg2 \
linux-libc-dev \
procps \
# Needed for agent build.
autoconf \
bzip2 \
fakeroot \
git \
g++ \
make \
ruby \
xz-utils \
# RVM GPG keys.
&& mkdir -p ~/.gnupg && echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf \
&& gpg2 --keyserver hkp://keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
# Workaround for https://stackoverflow.com/q/64653051.
&& ln -s /bin/mkdir /usr/bin/mkdir \
# Install RVM.
&& curl -sSL -o get-rvm-io.sh https://get.rvm.io \
&& (echo "7bbf79be95e516f72945e558a4290b40ff8714158140a00991d42172ff78e209 get-rvm-io.sh" | sha256sum --check) \
&& /bin/bash get-rvm-io.sh stable \
&& rm -f get-rvm-io.sh \
# RVM requires running in a login shell.
&& /bin/bash -l -c "rvm requirements && rvm install 3.1.2 && gem install bundler --no-document && gem update --no-document" \
&& apt-get -y clean