curl-impersonate/generate_dockerfiles.sh
lwthiker eaeb619fa7 Add Alpine Linux build system
Add Dockerfiles for building curl-impersonate on Alpine Linux.

The Dockerfile template file was modified to support Alpine Linux,
mainly by changing the dependency installation from 'apt' to 'apk'.
The resulting alpine images are small (~11mb) and will be uploaded to
Docker hub.
2022-03-10 11:57:53 +02:00

29 lines
435 B
Bash
Executable File

#!/bin/sh
cat <<EOF | mustache - Dockerfile.template > chrome/Dockerfile
---
chrome: true
debian: true
---
EOF
cat <<EOF | mustache - Dockerfile.template > chrome/Dockerfile.alpine
---
chrome: true
alpine: true
---
EOF
cat <<EOF | mustache - Dockerfile.template > firefox/Dockerfile
---
firefox: true
debian: true
---
EOF
cat <<EOF | mustache - Dockerfile.template > firefox/Dockerfile.alpine
---
firefox: true
alpine: true
---
EOF