libp2p-webrtc-star: upgrade to 0.17.6
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
6d81e8e5f9
commit
1001b102a9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue