Add Bash, PHP, Perl
This commit is contained in:
parent
bb8e6d5cfa
commit
c8048b3a08
10 changed files with 53 additions and 0 deletions
4
docker/bash/Dockerfile
Normal file
4
docker/bash/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM bash
|
||||
LABEL author="1Computer1"
|
||||
|
||||
COPY run.sh /var/run/
|
2
docker/bash/run.sh
Normal file
2
docker/bash/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.sh
|
||||
bash program.sh
|
4
docker/perl/Dockerfile
Normal file
4
docker/perl/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM perl:slim
|
||||
LABEL author="1Computer1"
|
||||
|
||||
COPY run.sh /var/run/
|
2
docker/perl/run.sh
Normal file
2
docker/perl/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.pl
|
||||
perl program.pl
|
4
docker/php/Dockerfile
Normal file
4
docker/php/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM php:alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
COPY run.sh /var/run/
|
1
docker/php/run.sh
Normal file
1
docker/php/run.sh
Normal file
|
@ -0,0 +1 @@
|
|||
php -r "$1"
|
Loading…
Add table
Add a link
Reference in a new issue