-
Notifications
You must be signed in to change notification settings - Fork 22
Conversation
dbc2val/Dockerfile
Outdated
@@ -31,35 +33,26 @@ ENV PATH="/opt/venv/bin:$PATH" | |||
RUN /opt/venv/bin/python3 -m pip install --upgrade pip \ | |||
&& pip3 install --no-cache-dir -r requirements.txt | |||
|
|||
RUN pip3 install wheel scons && pip3 install pyinstaller patchelf==0.17.0.0 staticx | |||
RUN pip3 install wheel scons && pip3 install pyinstaller |
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.
Based on our recent problems with pyinstaller (well actually with staticx it seems) I am thinking if we in the long run should handle the dependencies here similar to our requirements* files, i.e. directly or indirectly specify exact version so we can always "rebuild" the same docker container. Maybe not for main/master, but maybe for releases.
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.
Should we add it to dev-dependencies? Or create a seperate "requirements-package.in" or something, generate it and pip-install it as well?
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.
I did the following:
- Built the container for amd64
- Run it on my Linux VM towards Databroker, with and without CANplayer running separately.
Both worked, so functionally I am in favor of this PR
6728ed9
to
6bda6f3
Compare
c4e64c1
to
d744c04
Compare
Signed-off-by: Sebastian Schildt <sebastian.schildt@de.bosch.com>
Signed-off-by: Sebastian Schildt <sebastian.schildt@de.bosch.com>
d744c04
to
c06ba37
Compare
I think "size-wise" we can get rid of staticx, and this is one quick shot at it.
Advantages
Disadvantages
The current size on arm64
I did test, it can start and play logfile to dataroker, I had no way to