diff --git a/Dockerfile b/Dockerfile index ad0d2e7..4898cb0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,7 @@ FROM alpine:latest + +RUN cat /etc/hosts + RUN apk update RUN apk upgrade RUN apk add --no-cache ca-certificates diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..1a5e08f --- /dev/null +++ b/build.sh @@ -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" \ + .