libp2p-webrtc-star: upgrade to 0.17.6

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-02-10 10:51:19 +01:00
parent 6d81e8e5f9
commit 1001b102a9
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 9 additions and 5 deletions

View File

@ -1,11 +1,13 @@
FROM node:10.15-alpine
FROM node:12.15-alpine3.11
ARG WEBRTC_VERSION
ENV PORT=9090 \
HOST=0.0.0.0
RUN apk update \
&& apk add --no-cache git \
&& yarn global add libp2p-webrtc-star \
&& yarn global add libp2p-webrtc-star@${WEBRTC_VERSION} \
&& yarn cache clean \
&& apk del git
@ -14,4 +16,4 @@ LABEL source="https://github.com/status-im/infra-utils" \
maintainer="jakub@status.im"
CMD ["/usr/local/bin/star-signal"]
EXPOSE $DEV_P2P_PORT
EXPOSE $PORT

View File

@ -1,9 +1,11 @@
IMAGE_TAG = latest
WEBRTC_VERSION = v0.17.6
IMAGE_TAG = $(WEBRTC_VERSION)
IMAGE_NAME = statusteam/libp2p-webrtc-star:$(IMAGE_TAG)
build:
docker build \
--build-arg="LIVEPEER_VERSION=$(LIVEPEER_VERSION)" \
--build-arg="WEBRTC_VERSION=$(WEBRTC_VERSION)" \
-t $(IMAGE_NAME) .
push: build