ensure hosts are set when building
otherwise when we try to add the certs to .gnutls/known_hosts, it wont get the correct cert
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
FROM alpine:latest
|
||||
|
||||
RUN cat /etc/hosts
|
||||
|
||||
RUN apk update
|
||||
RUN apk upgrade
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
9
build.sh
Executable file
9
build.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
export IP=$(getent ahostsv4 freegamez.ga | awk '{ print $1 }' | head -1)
|
||||
|
||||
docker build -t taylorbourne/xteve_lazystream \
|
||||
--add-host="mf.svc.nhl.com:$IP" \
|
||||
--add-host="playback.svcs.mlb.com:$IP" \
|
||||
--add-host="mlb-ws-mf.media.mlb.com:$IP" \
|
||||
.
|
||||
Reference in New Issue
Block a user