mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-03 21:42:26 +00:00
cleanup travis-setup
This commit is contained in:
parent
60275364a7
commit
2cf52d928b
13
Makefile
13
Makefile
@ -80,11 +80,16 @@ release-nodocker:
|
|||||||
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GOBUILD) -o /tmp/rtsp-simple-server
|
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GOBUILD) -o /tmp/rtsp-simple-server
|
||||||
tar -C /tmp -czf $(PWD)/release/rtsp-simple-server_$(VERSION)_darwin_amd64.tar.gz --owner=0 --group=0 rtsp-simple-server
|
tar -C /tmp -czf $(PWD)/release/rtsp-simple-server_$(VERSION)_darwin_amd64.tar.gz --owner=0 --group=0 rtsp-simple-server
|
||||||
|
|
||||||
|
define DOCKERFILE_TRAVIS
|
||||||
|
FROM ruby:alpine
|
||||||
|
RUN apk add --no-cache build-base git
|
||||||
|
RUN gem install travis
|
||||||
|
endef
|
||||||
|
export DOCKERFILE_TRAVIS
|
||||||
|
|
||||||
travis-setup:
|
travis-setup:
|
||||||
echo "FROM ruby:alpine \n\
|
echo "$$DOCKERFILE_TRAVIS" | docker build - -t temp
|
||||||
RUN apk add --no-cache build-base git \n\
|
docker run --rm -it \
|
||||||
RUN gem install travis" | docker build - -t temp \
|
|
||||||
&& docker run --rm -it \
|
|
||||||
-v $(PWD):/s \
|
-v $(PWD):/s \
|
||||||
temp \
|
temp \
|
||||||
sh -c "cd /s \
|
sh -c "cd /s \
|
||||||
|
Loading…
Reference in New Issue
Block a user