docker-aosp icon indicating copy to clipboard operation
docker-aosp copied to clipboard

Syntax error pulling docker

Open locallycompact opened this issue 9 years ago • 3 comments

Hi, I'm getting the following error trying to use this docker in a project.

[: -c: line 1: syntax error: unexpected end of file

https://gitlab.com/locallycompact/aosp/builds/8170460

This error is happening during the docker creation before it begins executing.

https://gitlab.com/locallycompact/aosp/blob/0da9cd6199d4b129a885a9a72f4d0c2ee337ab69/.gitlab-ci.yml

Thanks

locallycompact avatar Jan 04 '17 12:01 locallycompact

Took a quick look and I don't see any problems on the image side.

docker run --rm -it kylemanna/aosp echo "Hello World"
docker_entrypoint: Creating user UID/GID [1000/1000]
docker_entrypoint: Creating user UID/GID [1000/1000] - done
docker_entrypoint: Copying .gitconfig and .ssh/config to new user home
docker_entrypoint: Copying .gitconfig and .ssh/config to new user home - done
docker_entrypoint: Creating /tmp/ccache and /aosp directory
docker_entrypoint: Creating /tmp/ccache and /aosp directory - done

Hello World

And the gitlab-ci looks right. Furthermore, there isn't even a -c anywhere in the repo that I could fine.

Seems like there is something strange going on with Gitlab CI. Have you tried running it locally on your machine?

kylemanna avatar Jan 04 '17 16:01 kylemanna

Still an issue?

kylemanna avatar Jan 09 '17 02:01 kylemanna

Yes, looks like it's still an issue with gitlab-ci. I find docker awkward and annoying outside of gitlab so I tend not to use it directly, but I'll give it a try when I can.

locallycompact avatar Jan 12 '17 14:01 locallycompact