Compare commits

..

2 Commits

Author SHA1 Message Date
Dan Vargas ef5f38b329 pkg(perl-5.26.1): Added perl 5.26.1 2021-03-16 19:53:06 +13:00
Victor Frazao 81b70fe08d Adds build-essential to API container - need this for rust executor 2021-03-16 19:48:50 +13:00
6 changed files with 31 additions and 1 deletions

View File

@ -5,7 +5,7 @@ RUN for i in $(seq 1001 1500); do \
useradd -M runner$i -g $i -u $i ; \
done
RUN apt-get update && \
apt-get install -y libxml2 gnupg tar coreutils util-linux libc6-dev binutils && \
apt-get install -y libxml2 gnupg tar coreutils util-linux libc6-dev binutils build-essential && \
rm -rf /var/lib/apt/lists/*
ENV NODE_ENV=production

19
packages/perl/5.26.1/build.sh vendored Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl "https://www.cpan.org/src/5.0/perl-5.26.1.tar.gz" -o perl.tar.gz
tar xzf perl.tar.gz --strip-components=1
./Configure -des -Dprefix="$PREFIX"
make -j$(nproc)
make install -j$(nproc)
cd ..
rm -rf build

1
packages/perl/5.26.1/environment vendored Normal file
View File

@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH

6
packages/perl/5.26.1/metadata.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"language": "perl",
"version": "5.26.1",
"author": "Dan Vargas <danvargas46@gmail.com>",
"aliases": ["perl", "pl"]
}

3
packages/perl/5.26.1/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
perl "$@"

1
packages/perl/5.26.1/test.pl vendored Normal file
View File

@ -0,0 +1 @@
print("OK")