mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-04-27 07:36:47 +00:00

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.
29 lines
435 B
Bash
Executable File
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
|