docker-emulator-android icon indicating copy to clipboard operation
docker-emulator-android copied to clipboard

Make error

Open hannesa2 opened this issue 4 years ago • 2 comments

Following the Readme.md I grab the docker-registy-url with docker info | grep -i registry and got https://index.docker.io/v1/

This I used for

export DOCKER_USER=<my user>
export DOCKER_PASS=<my password>
make PROXY=docker-registry-url/ build tag login push

But I run into

make PROXY=https://index.docker.io/v1/ build tag login push
for version in android-16 android-17 android-18 android-19 android-21 android-22 android-23 android-24 android-25 android-26 android-27 android-28; do \
	mkdir -p ./build/$version ; \
	sed "s/{{ platform }}/$version/g" templates/Dockerfile > build/$version/Dockerfile ; \
	sed "s/{{ platform }}/$version/g" templates/config.ini > build/$version/config.ini ; \
	sed "s/{{ platform }}/$version/g" templates/start.sh > build/$version/start.sh ; \
	sed "s/{{ platform }}/$version/g" templates/Makefile > build/$version/Makefile ; \
	sed "s/{{ platform }}/$version/g" templates/snapshot.sh > build/$version/snapshot.sh ; \
	sed "s/{{ platform }}/$version/g" templates/snapshot.expect > build/$version/snapshot.expect ; \
	sed "s/{{ platform }}/$version/g" templates/take_snapshot.sh > build/$version/take_snapshot.sh ; \
	cp base/* ./build/$version ; \
done
for version in android-16 android-17 android-18 android-19 android-21 android-22 android-23 android-24 android-25 android-26 android-27 android-28; do \
	make -C build/$version build; \
done
make[1]: Entering directory '/home/hannes/git/docker-emulator-android/build/android-16'
docker build \
	--build-arg VCS_REF=`git rev-parse --short HEAD` \
	--build-arg IMAGE_VERSION=1.0.0 \
	-t https://index.docker.io/v1/agoda/docker-emulator-android-16:latest /home/hannes/git/docker-emulator-android/build/android-16
invalid argument "https://index.docker.io/v1/agoda/docker-emulator-android-16:latest" for "-t, --tag" flag: invalid reference format

hannesa2 avatar Aug 20 '19 05:08 hannesa2

It seems to work with make PROXY=registry.hub.docker.com build tag login push

hannesa2 avatar Aug 20 '19 05:08 hannesa2

Now I run into image

Any clue how to get rid of it ?

hannesa2 avatar Aug 20 '19 05:08 hannesa2