udp dockerfile: fix newline env arg issues

This commit is contained in:
Joakim Frostegård 2022-07-24 12:15:28 +02:00
parent cdd9569fd9
commit 24b86107ca

View file

@ -32,8 +32,8 @@ COPY --from=builder /usr/src/aquatic/target/release/aquatic_udp ./
# list file contents at runtime # list file contents at runtime
COPY <<-"EOT" ./entrypoint.sh COPY <<-"EOT" ./entrypoint.sh
#!/bin/bash #!/bin/bash
echo "$CONFIG_FILE_CONTENTS" > ./config.toml echo -e "$CONFIG_FILE_CONTENTS" > ./config.toml
echo "$ACCESS_LIST_CONTENTS" > ./access-list.txt echo -e "$ACCESS_LIST_CONTENTS" > ./access-list.txt
exec ./aquatic_udp -c ./config.toml "$@" exec ./aquatic_udp -c ./config.toml "$@"
EOT EOT