-
Notifications
You must be signed in to change notification settings - Fork 265
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
ADD IMAGE_NAME arg to Dockerfile #4422
Conversation
@@ -19,8 +19,9 @@ | |||
# iot_support at tid dot es | |||
# | |||
|
|||
ARG IMAGE_NAME=debian |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add ARG IMAGE_NAME also to docker/Dockerfile.alpine file.
I added
The full log is here: 20230911_Dockerfile.alpine How to reproduce it:
|
I think is related to what I said in this comment. We could fix CMakeLists.txt in the way suggested in that comment, but it seems osDistro.sh doesn't identifies alpine distro and prints: https://github.com/fisuda/report/blob/master/orion/20230911_Dockerfile.alpine/orion-alpine-build.log#L8879C1-L8879C45
If merging this PR doesn't urge, I can try to investigate how to improve osDistro.sh in this case and provide you some feedback on it. |
Seems interesting https://linuxhint.com/check-version-alpine-linux/ :) |
I understand you did it at the end in PR #4425. Great work! :) |
As you may have noticed, I fixed by PR #4425. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR adds the
IMAGE_NAME
argument to Dockerfile. For example, Orion with Ubuntu 22.04 as a base image can be build as shown:The build logs:
Result:
It would be great if you could review this PR.
Thanks.