mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-04 19:02:28 +00:00

Since the firefox and chrome builds are similar except for the TLS library used, it makes sense to unify their Dockerfiles. This commit introduces a template Dockerfile from which both the build Dockerfiles are generated using the simple 'mustache' template system.
14 lines
190 B
Bash
Executable File
14 lines
190 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cat <<EOF | mustache - Dockerfile.template > chrome/Dockerfile
|
|
---
|
|
chrome: true
|
|
---
|
|
EOF
|
|
|
|
cat <<EOF | mustache - Dockerfile.template > firefox/Dockerfile
|
|
---
|
|
firefox: true
|
|
---
|
|
EOF
|