Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error pulling docker #18

Open
locallycompact opened this issue Jan 4, 2017 · 3 comments
Open

Syntax error pulling docker #18

locallycompact opened this issue Jan 4, 2017 · 3 comments

Comments

@locallycompact
Copy link

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

@kylemanna
Copy link
Owner

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
Copy link
Owner

Still an issue?

@locallycompact
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants