Commit Graph

12 Commits

Author SHA1 Message Date
Zameer Manji
605207f154
Update debian image to include smartmontools
This adds the `smartmontools` package to the debian based Docker image.

This package provides the `smartctl` binary which the `pySMART.smartx` package
requires.

Without this change, in the Docker container, with `--device=/dev/sda:/dev/sda` passed to `docker run`
```
# python3
Python 3.9.6 (default, Aug 17 2021, 02:38:04) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pySMART import DeviceList
>>> DeviceList()
<DeviceList contents:
>
```

With this change:
```
# python3
Python 3.9.6 (default, Aug 17 2021, 02:38:04) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> ifrom pySMART import DeviceList
KeyboardInterrupt
>>> from pySMART import DeviceList
>>> DeviceList()
<DeviceList contents:
<SCSI device on /dev/sda mod:None sn:AB202000000000001398>
>
```
2021-09-08 19:52:01 -04:00
nicolargo
0eb8973626 Debian Docker images broken with version 3.2.2 #1905 2021-07-25 10:09:03 +02:00
Markus Pöschl
5e4b21f816
Fix python lib path in alpine images 2021-07-14 22:46:33 +02:00
Clifford W. Hansen
410264c33b Fixed python library path 2021-05-20 16:55:02 +02:00
Clifford W. Hansen
6be4d3ba63 Fixed docker copy issue 2021-05-20 16:54:36 +02:00
Markus Pöschl
d00e680c4d Install build-essentials instead of just the gcc on debain build images 2021-05-15 15:44:43 +02:00
Markus Pöschl
b2506777b5 Adjust dev images for caching and add workdir again 2021-05-15 15:44:43 +02:00
Markus Pöschl
4794c2b6ab Install dependencies before installing from pypi for better layer caching 2021-05-15 15:44:43 +02:00
Markus Pöschl
da9c056964 Ensure correct version inside docker container 2021-05-15 14:39:26 +02:00
Markus Pöschl
77d902bbc1 Change the actions to build both of the versioned variants 2021-05-15 14:39:26 +02:00
Markus Pöschl
281382c030 Migrate the dev image also in the multi-stage build 2021-05-15 14:39:24 +02:00
Markus Pöschl
781c9961cb Migrate to multistaged Dockerfile for debian images. 2021-05-15 14:38:37 +02:00