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

Improve Docker build support #97

Merged
merged 2 commits into from
Nov 28, 2022
Merged

Improve Docker build support #97

merged 2 commits into from
Nov 28, 2022

Conversation

jeanthom
Copy link
Collaborator

Fixes #96

@jeanthom jeanthom requested a review from zoobab August 14, 2022 12:10
The Dockerfile has been heavily modified to make full use of docker
build. The operating system has been changed to Alpine Linux, and most
of the old hacks we needed for exporting binaries were removed.
@zoobab
Copy link
Collaborator

zoobab commented Aug 18, 2022

I will try it out asap, but it looks ok to me.

@zoobab
Copy link
Collaborator

zoobab commented Sep 8, 2022

It does not build for me, you have to add:

RUN git submodule init
RUN git submodule sync
RUN git submodule update

to get the unicore-mx library.

@jeanthom
Copy link
Collaborator Author

jeanthom commented Sep 9, 2022

Is it a good deployment practice for Docker to perform Git commands inside a Docker container? I wasn't doing it in the first place because submodule cloning is supposed to be performed by docker build.

@zoobab
Copy link
Collaborator

zoobab commented Sep 9, 2022

I have not tried this actually:

$ docker build https://github.com/jeanthom/DirtyJTAG.git --output type=tar,dest=dirtyjtag.tar

I cloned the repo and did a 'docker build .'

Will try the first method later on...

@jeanthom jeanthom merged commit 9525460 into master Nov 28, 2022
@jeanthom jeanthom deleted the docker-build branch December 14, 2022 21:03
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

Successfully merging this pull request may close these issues.

Use Docker build --output ?
2 participants