-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
81 additions
and
0 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
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,30 @@ | ||
FROM alpine:3.7 | ||
MAINTAINER Claudio Ramirez <pub.claudio@gmail.com> | ||
# This build is on hold because an upstream bug resulting in bad pkgs: | ||
# https://github.com/jordansissel/fpm/issues/1227 | ||
|
||
ENV LANG='C.UTF-8' | ||
ENV TZ='Europe/Brussels' | ||
ENV pkgs='build-base ca-certificates git libc-dev linux-headers openssl perl perl-utils ruby wget zlib gzip tar git' | ||
ENV pkg_tmp='libffi-dev ruby-dev ruby-irb ruby-rdoc tzdata' | ||
|
||
RUN set -xv ; \ | ||
apk update && apk upgrade && \ | ||
# pkgs for compiling and pkg creation | ||
apk add --no-cache ${pkgs} ${pkg_tmp} && \ | ||
update-ca-certificates && \ | ||
cp /usr/share/zoneinfo/${TZ} /etc/localtime && \ | ||
echo "${TZ}" > /etc/timezone && \ | ||
gem install fpm json && \ | ||
# Workaround bug https://github.com/jordansissel/fpm/issues/1227 | ||
perl -pi -e \ | ||
's/^\s+(full_record_path\s+=\s+add_paxstring\(full_record_path\))/#$1/' \ | ||
/usr/lib/ruby/gems/2.4.0/gems/fpm-1.9.3/lib/fpm/package/apk.rb && \ | ||
# Cleanup | ||
apk del ${pkg_tmp} && \ | ||
rm -rf /tmp/* /var/tmp/* /MoarVM* /nqp* /rakudo* | ||
|
||
COPY pkg_rakudo.pl / | ||
COPY install-zef-as-user / | ||
|
||
ENTRYPOINT [ "/pkg_rakudo.pl" ] |
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,24 @@ | ||
FROM ubuntu:zesty | ||
MAINTAINER Claudio Ramirez <pub.claudio@gmail.com> | ||
|
||
ENV LANG='C.UTF-8' \ | ||
DEBIAN_FRONTEND='noninteractive' \ | ||
TZ='Europe/Brussels' \ | ||
pkgs='build-essential git lsb-release ruby wget' \ | ||
pkgs_tmp='ruby-dev' | ||
|
||
RUN set -xv ; \ | ||
apt-get -qq update && \ | ||
apt-get -qq dist-upgrade -y && \ | ||
# Packages for compiling and pkg creation | ||
apt-get -qq install -y ${pkgs} ${pkgs_tmp} && \ | ||
gem install fpm && \ | ||
# Cleanup | ||
apt-get remove -y --purge ${pkgs_tmp} && \ | ||
apt-get -qq autoremove -y && apt-get -qq clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /*.deb /MoarVM* /nqp* /rakudo* | ||
|
||
COPY pkg_rakudo.pl / | ||
COPY install-zef-as-user / | ||
|
||
ENTRYPOINT [ "/pkg_rakudo.pl" ] |
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,26 @@ | ||
FROM nxadm/ubuntu-i386:17.04 | ||
# This inherits from an image directly created (without changes) from: | ||
# http://cdimage.ubuntu.com/ubuntu-base/releases/17.04/release/ubuntu-base-17.04-core-i386.tar.gz | ||
MAINTAINER Claudio Ramirez <pub.claudio@gmail.com> | ||
|
||
ENV LANG='C.UTF-8' \ | ||
DEBIAN_FRONTEND='noninteractive' \ | ||
TZ='Europe/Brussels' \ | ||
pkgs='build-essential git lsb-release ruby wget' \ | ||
pkgs_tmp='ruby-dev' | ||
|
||
RUN set -xv ; \ | ||
apt-get -qq update && \ | ||
apt-get -qq dist-upgrade -y && \ | ||
# Packages for compiling and pkg creation | ||
apt-get -qq install -y ${pkgs} ${pkgs_tmp} && \ | ||
gem install fpm && \ | ||
# Cleanup | ||
apt-get remove -y --purge ${pkgs_tmp} && \ | ||
apt-get -qq autoremove -y && apt-get -qq clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /*.deb /MoarVM* /nqp* /rakudo* | ||
|
||
COPY pkg_rakudo.pl / | ||
COPY install-zef-as-user / | ||
|
||
ENTRYPOINT [ "/pkg_rakudo.pl" ] |