5 lines
183 B
Bash
5 lines
183 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
docker build -f build.Dockerfile -t rsh_gcc .
|
||
|
docker run --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp rsh_gcc gcc -fno-stack-protector -fno-pie -no-pie -o rsh main.c
|