Compare commits
No commits in common. "ef27fc03275bc70a75b30402e45095411aa095ec" and "ef5f38b3296d431aa336b18b8da855999794caa4" have entirely different histories.
ef27fc0327
...
ef5f38b329
|
@ -5,11 +5,9 @@ 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 build-essential locales libpcre3-dev libevent-dev && \
|
||||
apt-get install -y libxml2 gnupg tar coreutils util-linux libc6-dev binutils build-essential && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
|
||||
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /piston_api
|
||||
COPY ["package.json", "yarn.lock", "./"]
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
curl -L "https://github.com/crystal-lang/crystal/releases/download/0.36.1/crystal-0.36.1-1-linux-x86_64.tar.gz" -o crystal.tar.gz
|
||||
tar xzf crystal.tar.gz --strip-components=1
|
||||
rm crystal.tar.gz
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile crystal files into out file
|
||||
crystal build "$@" -o out --no-color && \
|
||||
chmod +x out
|
|
@ -1 +0,0 @@
|
|||
export PATH=$PWD/bin:$PATH
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"language": "crystal",
|
||||
"version": "0.36.1",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["crystal", "cr"]
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
shift # Filename is only used to compile
|
||||
./out "$@"
|
|
@ -1 +0,0 @@
|
|||
puts("OK")
|
|
@ -1,19 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to build your package in here
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl "http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.11.tar.gz" -o dash.tar.gz
|
||||
tar xzf dash.tar.gz --strip-components=1
|
||||
|
||||
./configure --prefix "$PREFIX" &&
|
||||
make -j$(nproc) &&
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ../
|
||||
|
||||
rm -rf build
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"language": "dash",
|
||||
"version": "0.5.11",
|
||||
"aliases": ["dash"],
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>"
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
dash "$@"
|
|
@ -1 +0,0 @@
|
|||
echo "OK"
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export PATH=$PWD/bin:$PATH
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export PATH=$PWD/bin:$PATH
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
curl -OL "https://static.rust-lang.org/dist/rust-1.50.0-x86_64-unknown-linux-gnu.tar.gz"
|
||||
tar xzvf rust-1.50.0-x86_64-unknown-linux-gnu.tar.gz
|
||||
rm rust-1.50.0-x86_64-unknown-linux-gnu.tar.gz
|
|
@ -1,6 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# https://stackoverflow.com/questions/38041331/rust-compiler-cant-find-crate-for-std
|
||||
# Rust compiler needs to find the stdlib to link against
|
||||
rustc -o binary -L ${RUST_INSTALL_LOC}/rustc/lib -L ${RUST_INSTALL_LOC}/rust-std-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib "$@"
|
||||
chmod +x binary
|
|
@ -1,5 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/rust-1.50.0-x86_64-unknown-linux-gnu/rustc/bin/:$PATH
|
||||
export RUST_INSTALL_LOC=$PWD/rust-1.50.0-x86_64-unknown-linux-gnu
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"language": "rust",
|
||||
"version": "1.50.0",
|
||||
"aliases": ["rs"],
|
||||
"author": "Victor Frazao <luiz_victor_frazao@hotmail.com>"
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
./binary "$@"
|
|
@ -1,3 +0,0 @@
|
|||
fn main() {
|
||||
println!("OK");
|
||||
}
|
Loading…
Reference in New Issue