Files
curl-impersonate/generate_dockerfiles.sh
lwthiker d1dbfc89c5 Use a template for generating Dockerfiles
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.
2022-03-09 11:01:44 +02:00

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