mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-25 04:22:00 -08:00
cleanup travis-setup
This commit is contained in:
parent
60275364a7
commit
2cf52d928b
1 changed files with 9 additions and 4 deletions
13
Makefile
13
Makefile
|
|
@ -80,11 +80,16 @@ release-nodocker:
|
|||
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
|
||||
|
||||
define DOCKERFILE_TRAVIS
|
||||
FROM ruby:alpine
|
||||
RUN apk add --no-cache build-base git
|
||||
RUN gem install travis
|
||||
endef
|
||||
export DOCKERFILE_TRAVIS
|
||||
|
||||
travis-setup:
|
||||
echo "FROM ruby:alpine \n\
|
||||
RUN apk add --no-cache build-base git \n\
|
||||
RUN gem install travis" | docker build - -t temp \
|
||||
&& docker run --rm -it \
|
||||
echo "$$DOCKERFILE_TRAVIS" | docker build - -t temp
|
||||
docker run --rm -it \
|
||||
-v $(PWD):/s \
|
||||
temp \
|
||||
sh -c "cd /s \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue