Last active
April 27, 2016 04:58
-
-
Save yyuu/4f63d9af4004201c464b to your computer and use it in GitHub Desktop.
Dockerfile to build CRuby for heroku-buildpack-ruby
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
*.swo | |
*.swp | |
/cedar | |
/cedar-12 | |
/cedar-14 |
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
#!/usr/bin/env bash | |
# | |
# ```sh | |
# % STACK=cedar-14 ./build 2.1.8 2.2.4 2.3.0 | |
# ``` | |
# | |
set -e | |
set -x | |
BUILD_PATH="$(mktemp -d "${TMP:-/tmp}/${BASH_SOURCE##*/}.XXXXXXXX")" | |
on_exit() { | |
rm -fr "${BUILD_PATH}" | |
} | |
trap on_exit EXIT | |
compute_sha1() { | |
local output | |
if type shasum &>/dev/null; then | |
output="$(shasum -a 1 -b)" || return 1 | |
echo "${output% *}" | |
elif type openssl &>/dev/null; then | |
local openssl="$(command -v "$(brew --prefix openssl 2>/dev/null || true)"/bin/openssl openssl | head -1)" | |
output="$("$openssl" dgst -sha1 2>/dev/null)" || return 1 | |
echo "${output##* }" | |
elif type sha1sum &>/dev/null; then | |
output="$(sha1sum --quiet)" || return 1 | |
echo "${output% *}" | |
else | |
return 1 | |
fi | |
} | |
compute_sha2() { | |
local output | |
if type shasum &>/dev/null; then | |
output="$(shasum -a 256 -b)" || return 1 | |
echo "${output% *}" | |
elif type openssl &>/dev/null; then | |
local openssl="$(command -v "$(brew --prefix openssl 2>/dev/null || true)"/bin/openssl openssl | head -1)" | |
output="$("$openssl" dgst -sha256 2>/dev/null)" || return 1 | |
echo "${output##* }" | |
elif type sha256sum &>/dev/null; then | |
output="$(sha256sum --quiet)" || return 1 | |
echo "${output% *}" | |
else | |
return 1 | |
fi | |
} | |
compute_md5() { | |
local output | |
if type md5 &>/dev/null; then | |
md5 -q | |
elif type openssl &>/dev/null; then | |
output="$(openssl md5)" || return 1 | |
echo "${output##* }" | |
elif type md5sum &>/dev/null; then | |
output="$(md5sum -b)" || return 1 | |
echo "${output% *}" | |
else | |
return 1 | |
fi | |
} | |
verify_tgz() { | |
local tgz="$(cd "${1%/*}"; pwd)/${1##*/}" | |
local dir="$(mktemp -d "${BUILD_PATH}/XXXXXXXX")" | |
tar zxvf "${tgz}" -C "${dir}" | |
[ -x "${dir}/bin/ruby" ] || return 1 | |
} | |
for definition; do | |
if [[ "${definition}" == "Dockerfile."* ]]; then | |
dockerfile="${definition}" | |
version="${definition%%-*}" | |
version="${version#Dockerfile.}" | |
name="ruby-${version}" | |
stack="${definition#*-}" | |
else | |
if [[ "${definition}" != "${definition%#*}" ]]; then | |
version="${definition%#*}" | |
stack="${definition##*#}" | |
else | |
version="${definition}" | |
stack="${STACK:-cedar-14}" | |
fi | |
name="ruby-${version}" | |
dockerfile="Dockerfile.${version}-${stack}" | |
fi | |
if [ -f "${dockerfile}" ]; then | |
image="yyuu/${stack}:${name}" | |
cat "${dockerfile}" | docker build -t "${image}" - | |
container="$(docker run -d "${image}")" | |
mkdir -p "${stack}" | |
docker cp "${container}:/${name}.tgz" "${stack}/${name}.tgz" | |
else | |
echo "$0: no such file: ${dockerfile}" 1>&2 | |
exit 1 | |
fi | |
if verify_tgz "${stack}/${name}.tgz"; then | |
cat "${stack}/${name}.tgz" | compute_md5 > "${stack}/${name}.tgz.md5" | |
cat "${stack}/${name}.tgz" | compute_sha1 > "${stack}/${name}.tgz.sha1" | |
cat "${stack}/${name}.tgz" | compute_sha2 > "${stack}/${name}.tgz.sha2" | |
else | |
rm -f "${stack}/${name}.tgz" | |
echo "$0: invalid tarball: ${stack}/${name}.tgz" | |
exit 1 | |
fi | |
done |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p551.tar.bz2 | |
RUN echo "b0c5e37e3431d58613a160504b39542ec687d473de1d4da983dabcf3c5de771e ruby-1.9.3-p551.tar.bz2" > ruby-1.9.3-p551.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-1.9.3-p551.tar.bz2.sha256sum | |
RUN tar xvf ruby-1.9.3-p551.tar.bz2 | |
WORKDIR /tmp/ruby-1.9.3-p551 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-1.9.3 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-1.9.3 | |
RUN tar zcvf /ruby-1.9.3.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-1.9.3 /ruby-1.9.3 | |
RUN /ruby-1.9.3/bin/ruby --version | |
CMD /ruby-1.9.3/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p551.tar.bz2 | |
RUN echo "b0c5e37e3431d58613a160504b39542ec687d473de1d4da983dabcf3c5de771e ruby-1.9.3-p551.tar.bz2" > ruby-1.9.3-p551.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-1.9.3-p551.tar.bz2.sha256sum | |
RUN tar xvf ruby-1.9.3-p551.tar.bz2 | |
WORKDIR /tmp/ruby-1.9.3-p551 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-1.9.3 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-1.9.3 | |
RUN tar zcvf /ruby-1.9.3.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-1.9.3 /ruby-1.9.3 | |
RUN /ruby-1.9.3/bin/ruby --version | |
CMD /ruby-1.9.3/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p551.tar.bz2 | |
RUN echo "b0c5e37e3431d58613a160504b39542ec687d473de1d4da983dabcf3c5de771e ruby-1.9.3-p551.tar.bz2" > ruby-1.9.3-p551.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-1.9.3-p551.tar.bz2.sha256sum | |
RUN tar xvf ruby-1.9.3-p551.tar.bz2 | |
WORKDIR /tmp/ruby-1.9.3-p551 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-1.9.3 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-1.9.3 | |
RUN tar zcvf /ruby-1.9.3.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-1.9.3 /ruby-1.9.3 | |
RUN /ruby-1.9.3/bin/ruby --version | |
CMD /ruby-1.9.3/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2 | |
RUN echo "a74675578a9a801ac25eb7152bef3023432d6267f875b198eb9cd6944a5bf4f1 ruby-2.1.10.tar.bz2" > ruby-2.1.10.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.10.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.10.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.10 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.10 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.10 | |
RUN tar zcvf /ruby-2.1.10.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.10 /ruby-2.1.10 | |
RUN /ruby-2.1.10/bin/ruby --version | |
CMD /ruby-2.1.10/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2 | |
RUN echo "a74675578a9a801ac25eb7152bef3023432d6267f875b198eb9cd6944a5bf4f1 ruby-2.1.10.tar.bz2" > ruby-2.1.10.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.10.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.10.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.10 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.10 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.10 | |
RUN tar zcvf /ruby-2.1.10.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.10 /ruby-2.1.10 | |
RUN /ruby-2.1.10/bin/ruby --version | |
CMD /ruby-2.1.10/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2 | |
RUN echo "a74675578a9a801ac25eb7152bef3023432d6267f875b198eb9cd6944a5bf4f1 ruby-2.1.10.tar.bz2" > ruby-2.1.10.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.10.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.10.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.10 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.10 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.10 | |
RUN tar zcvf /ruby-2.1.10.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.10 /ruby-2.1.10 | |
RUN /ruby-2.1.10/bin/ruby --version | |
CMD /ruby-2.1.10/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.bz2 | |
RUN echo "250d0b589cba97caddc86a28849365ad0d475539448cf76bbae93190985b3387 ruby-2.1.8.tar.bz2" > ruby-2.1.8.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.8.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.8.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.8 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.8 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.8 | |
RUN tar zcvf /ruby-2.1.8.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.8 /ruby-2.1.8 | |
RUN /ruby-2.1.8/bin/ruby --version | |
CMD /ruby-2.1.8/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.bz2 | |
RUN echo "250d0b589cba97caddc86a28849365ad0d475539448cf76bbae93190985b3387 ruby-2.1.8.tar.bz2" > ruby-2.1.8.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.8.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.8.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.8 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.8 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.8 | |
RUN tar zcvf /ruby-2.1.8.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.8 /ruby-2.1.8 | |
RUN /ruby-2.1.8/bin/ruby --version | |
CMD /ruby-2.1.8/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.8.tar.bz2 | |
RUN echo "250d0b589cba97caddc86a28849365ad0d475539448cf76bbae93190985b3387 ruby-2.1.8.tar.bz2" > ruby-2.1.8.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.8.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.8.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.8 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.8 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.8 | |
RUN tar zcvf /ruby-2.1.8.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.8 /ruby-2.1.8 | |
RUN /ruby-2.1.8/bin/ruby --version | |
CMD /ruby-2.1.8/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.9.tar.bz2 | |
RUN echo "4f21376aa11e09b499c3254bbd839e68e053c0d18e28d61c428a32347269036e ruby-2.1.9.tar.bz2" > ruby-2.1.9.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.9.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.9.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.9 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.9 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.9 | |
RUN tar zcvf /ruby-2.1.9.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.9 /ruby-2.1.9 | |
RUN /ruby-2.1.9/bin/ruby --version | |
CMD /ruby-2.1.9/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.9.tar.bz2 | |
RUN echo "4f21376aa11e09b499c3254bbd839e68e053c0d18e28d61c428a32347269036e ruby-2.1.9.tar.bz2" > ruby-2.1.9.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.9.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.9.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.9 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.9 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.9 | |
RUN tar zcvf /ruby-2.1.9.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.9 /ruby-2.1.9 | |
RUN /ruby-2.1.9/bin/ruby --version | |
CMD /ruby-2.1.9/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.9.tar.bz2 | |
RUN echo "4f21376aa11e09b499c3254bbd839e68e053c0d18e28d61c428a32347269036e ruby-2.1.9.tar.bz2" > ruby-2.1.9.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.1.9.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.1.9.tar.bz2 | |
WORKDIR /tmp/ruby-2.1.9 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.1.9 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.1.9 | |
RUN tar zcvf /ruby-2.1.9.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.1.9 /ruby-2.1.9 | |
RUN /ruby-2.1.9/bin/ruby --version | |
CMD /ruby-2.1.9/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2 | |
RUN echo "f3b8ffa6089820ee5bdc289567d365e5748d4170e8aa246d2ea6576f24796535 ruby-2.2.2.tar.bz2" > ruby-2.2.2.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.2.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.2.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.2 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.2 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.2 | |
RUN tar zcvf /ruby-2.2.2.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.2 /ruby-2.2.2 | |
RUN /ruby-2.2.2/bin/ruby --version | |
CMD /ruby-2.2.2/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2 | |
RUN echo "f3b8ffa6089820ee5bdc289567d365e5748d4170e8aa246d2ea6576f24796535 ruby-2.2.2.tar.bz2" > ruby-2.2.2.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.2.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.2.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.2 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.2 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.2 | |
RUN tar zcvf /ruby-2.2.2.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.2 /ruby-2.2.2 | |
RUN /ruby-2.2.2/bin/ruby --version | |
CMD /ruby-2.2.2/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.bz2 | |
RUN echo "f3b8ffa6089820ee5bdc289567d365e5748d4170e8aa246d2ea6576f24796535 ruby-2.2.2.tar.bz2" > ruby-2.2.2.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.2.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.2.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.2 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.2 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.2 | |
RUN tar zcvf /ruby-2.2.2.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.2 /ruby-2.2.2 | |
RUN /ruby-2.2.2/bin/ruby --version | |
CMD /ruby-2.2.2/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.bz2 | |
RUN echo "c745cb98b29127d7f19f1bf9e0a63c384736f4d303b83c4f4bda3c2ee3c5e41f ruby-2.2.3.tar.bz2" > ruby-2.2.3.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.3.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.3.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.3 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.3 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.3 | |
RUN tar zcvf /ruby-2.2.3.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.3 /ruby-2.2.3 | |
RUN /ruby-2.2.3/bin/ruby --version | |
CMD /ruby-2.2.3/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.bz2 | |
RUN echo "c745cb98b29127d7f19f1bf9e0a63c384736f4d303b83c4f4bda3c2ee3c5e41f ruby-2.2.3.tar.bz2" > ruby-2.2.3.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.3.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.3.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.3 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.3 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.3 | |
RUN tar zcvf /ruby-2.2.3.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.3 /ruby-2.2.3 | |
RUN /ruby-2.2.3/bin/ruby --version | |
CMD /ruby-2.2.3/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.bz2 | |
RUN echo "c745cb98b29127d7f19f1bf9e0a63c384736f4d303b83c4f4bda3c2ee3c5e41f ruby-2.2.3.tar.bz2" > ruby-2.2.3.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.3.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.3.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.3 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.3 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.3 | |
RUN tar zcvf /ruby-2.2.3.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.3 /ruby-2.2.3 | |
RUN /ruby-2.2.3/bin/ruby --version | |
CMD /ruby-2.2.3/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.bz2 | |
RUN echo "31203696adbfdda6f2874a2de31f7c5a1f3bcb6628f4d1a241de21b158cd5c76 ruby-2.2.4.tar.bz2" > ruby-2.2.4.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.4.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.4.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.4 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.4 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.4 | |
RUN tar zcvf /ruby-2.2.4.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.4 /ruby-2.2.4 | |
RUN /ruby-2.2.4/bin/ruby --version | |
CMD /ruby-2.2.4/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.bz2 | |
RUN echo "31203696adbfdda6f2874a2de31f7c5a1f3bcb6628f4d1a241de21b158cd5c76 ruby-2.2.4.tar.bz2" > ruby-2.2.4.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.4.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.4.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.4 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.4 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.4 | |
RUN tar zcvf /ruby-2.2.4.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.4 /ruby-2.2.4 | |
RUN /ruby-2.2.4/bin/ruby --version | |
CMD /ruby-2.2.4/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.4.tar.bz2 | |
RUN echo "31203696adbfdda6f2874a2de31f7c5a1f3bcb6628f4d1a241de21b158cd5c76 ruby-2.2.4.tar.bz2" > ruby-2.2.4.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.4.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.4.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.4 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.4 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.4 | |
RUN tar zcvf /ruby-2.2.4.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.4 /ruby-2.2.4 | |
RUN /ruby-2.2.4/bin/ruby --version | |
CMD /ruby-2.2.4/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.5.tar.bz2 | |
RUN echo "22f0c6f34c0024e0bcaaa8e6831b7c0041e1ef6120c781618b833bde29626700 ruby-2.2.5.tar.bz2" > ruby-2.2.5.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.5.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.5.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.5 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.5 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.5 | |
RUN tar zcvf /ruby-2.2.5.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.5 /ruby-2.2.5 | |
RUN /ruby-2.2.5/bin/ruby --version | |
CMD /ruby-2.2.5/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.5.tar.bz2 | |
RUN echo "22f0c6f34c0024e0bcaaa8e6831b7c0041e1ef6120c781618b833bde29626700 ruby-2.2.5.tar.bz2" > ruby-2.2.5.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.5.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.5.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.5 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.5 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.5 | |
RUN tar zcvf /ruby-2.2.5.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.5 /ruby-2.2.5 | |
RUN /ruby-2.2.5/bin/ruby --version | |
CMD /ruby-2.2.5/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.5.tar.bz2 | |
RUN echo "22f0c6f34c0024e0bcaaa8e6831b7c0041e1ef6120c781618b833bde29626700 ruby-2.2.5.tar.bz2" > ruby-2.2.5.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.2.5.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.2.5.tar.bz2 | |
WORKDIR /tmp/ruby-2.2.5 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.2.5 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.2.5 | |
RUN tar zcvf /ruby-2.2.5.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.2.5 /ruby-2.2.5 | |
RUN /ruby-2.2.5/bin/ruby --version | |
CMD /ruby-2.2.5/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2 | |
RUN echo "ec7579eaba2e4c402a089dbc86c98e5f1f62507880fd800b9b34ca30166bfa5e ruby-2.3.0.tar.bz2" > ruby-2.3.0.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.3.0.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.3.0.tar.bz2 | |
WORKDIR /tmp/ruby-2.3.0 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.3.0 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.3.0 | |
RUN tar zcvf /ruby-2.3.0.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.3.0 /ruby-2.3.0 | |
RUN /ruby-2.3.0/bin/ruby --version | |
CMD /ruby-2.3.0/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2 | |
RUN echo "ec7579eaba2e4c402a089dbc86c98e5f1f62507880fd800b9b34ca30166bfa5e ruby-2.3.0.tar.bz2" > ruby-2.3.0.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.3.0.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.3.0.tar.bz2 | |
WORKDIR /tmp/ruby-2.3.0 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.3.0 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.3.0 | |
RUN tar zcvf /ruby-2.3.0.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.3.0 /ruby-2.3.0 | |
RUN /ruby-2.3.0/bin/ruby --version | |
CMD /ruby-2.3.0/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.0.tar.bz2 | |
RUN echo "ec7579eaba2e4c402a089dbc86c98e5f1f62507880fd800b9b34ca30166bfa5e ruby-2.3.0.tar.bz2" > ruby-2.3.0.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.3.0.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.3.0.tar.bz2 | |
WORKDIR /tmp/ruby-2.3.0 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.3.0 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.3.0 | |
RUN tar zcvf /ruby-2.3.0.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.3.0 /ruby-2.3.0 | |
RUN /ruby-2.3.0/bin/ruby --version | |
CMD /ruby-2.3.0/bin/irb --version |
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
FROM ubuntu:10.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.bz2 | |
RUN echo "4a7c5f52f205203ea0328ca8e1963a7a88cf1f7f0e246f857d595b209eac0a4d ruby-2.3.1.tar.bz2" > ruby-2.3.1.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.3.1.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.3.1.tar.bz2 | |
WORKDIR /tmp/ruby-2.3.1 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.3.1 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.3.1 | |
RUN tar zcvf /ruby-2.3.1.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.3.1 /ruby-2.3.1 | |
RUN /ruby-2.3.1/bin/ruby --version | |
CMD /ruby-2.3.1/bin/irb --version |
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
FROM ubuntu:12.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.bz2 | |
RUN echo "4a7c5f52f205203ea0328ca8e1963a7a88cf1f7f0e246f857d595b209eac0a4d ruby-2.3.1.tar.bz2" > ruby-2.3.1.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.3.1.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.3.1.tar.bz2 | |
WORKDIR /tmp/ruby-2.3.1 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.3.1 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.3.1 | |
RUN tar zcvf /ruby-2.3.1.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.3.1 /ruby-2.3.1 | |
RUN /ruby-2.3.1/bin/ruby --version | |
CMD /ruby-2.3.1/bin/irb --version |
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
FROM ubuntu:14.04 | |
MAINTAINER Yamashita, Yuu <[email protected]> | |
ENV DEBIAN_FRONTEND "noninteractive" | |
RUN apt-get update | |
RUN apt-get --yes upgrade | |
RUN apt-get --yes install autoconf | |
RUN apt-get --yes install bison | |
RUN apt-get --yes install build-essential | |
RUN apt-get --yes install curl | |
RUN apt-get --yes install libssl-dev | |
RUN apt-get --yes install libyaml-dev | |
RUN apt-get --yes install libreadline6-dev | |
RUN apt-get --yes install libncurses5-dev | |
RUN apt-get --yes install libffi-dev | |
RUN apt-get --yes install libgdbm-dev | |
RUN apt-get --yes install pkg-config | |
RUN apt-get --yes install ruby-full | |
RUN apt-get --yes install wget | |
RUN apt-get --yes install zlib1g-dev | |
WORKDIR /tmp | |
RUN wget -q http://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.bz2 | |
RUN echo "4a7c5f52f205203ea0328ca8e1963a7a88cf1f7f0e246f857d595b209eac0a4d ruby-2.3.1.tar.bz2" > ruby-2.3.1.tar.bz2.sha256sum | |
RUN sha256sum --check ruby-2.3.1.tar.bz2.sha256sum | |
RUN tar xvf ruby-2.3.1.tar.bz2 | |
WORKDIR /tmp/ruby-2.3.1 | |
RUN ./configure --disable-install-doc --prefix /app/vendor/ruby-2.3.1 --enable-load-relative | |
RUN make | |
RUN make install | |
WORKDIR /app/vendor/ruby-2.3.1 | |
RUN tar zcvf /ruby-2.3.1.tgz . | |
WORKDIR / | |
RUN mv -f /app/vendor/ruby-2.3.1 /ruby-2.3.1 | |
RUN /ruby-2.3.1/bin/ruby --version | |
CMD /ruby-2.3.1/bin/irb --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment