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.
This commit is contained in:
lwthiker
2022-03-10 11:57:53 +02:00
parent 91c906febd
commit eaeb619fa7
6 changed files with 345 additions and 18 deletions

View File

@@ -3,11 +3,26 @@
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