Commit Graph

34 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
Markus Pöschl
b347ce277c
Fix alpine path 2021-07-25 14:40:42 +02: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
44a917a2c6 Move to plain alpine image to build pip dependencies successfully 2021-05-15 15:44:43 +02:00
Markus Pöschl
3ab59b833a Add alpine multi-staged build 2021-05-15 15:44:43 +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
Nicolas Hennion
74a499b578
Update Dockerfile
Add docker-py for Alpine
2021-01-11 18:19:32 +01:00
Eduard Marbach
3901174b10 ci: fix release process and improve build speeds 2020-12-30 23:44:47 +01:00
Eduard Marbach
28f1143976 fix: dev build contains all optional req
- requires base image to be full fledged python -> results in bigger image size for dev.
2020-12-28 16:47:12 +01:00
nicolargo
08ce8e8c15 Alpine image is broken #1744 2020-10-21 09:14:14 +02:00
nicolargo
f600209757 RIP Alpine? #1741 2020-10-11 12:06:26 +02:00
Eduard Marbach
82821ec585 ci: implement github actions for builds
* includes build of docker files for multiple arch versions
2020-10-01 16:06:32 +02:00
nicolargo
ed95142104 Correct Python path in the devel-apline Docker File 2020-09-08 22:15:41 +02:00
nicolargo
6c1d7316df Correct Docker Alpine Dockerfile 2020-09-06 11:35:58 +02:00
nicolargo
e803152260 Update develop Dockerfile to use test.pypi.org 2020-08-22 14:34:00 +02:00
nicolargo
70e7c997a1 Update DockerFile 2020-08-20 15:48:38 +02:00
nicolargo
4157671225 Use Ubuntu 20.04 as default Docker image 2020-05-17 12:19:58 +02:00
Guillaume L
07d3b6defc
Update master dockerfile for Ubuntu 20.04 2020-05-17 10:56:09 +02:00
nicolargo
bceadb3ddd [ports] ICMP does not work #1538 2019-10-20 21:32:16 +02:00
Christopher Viel
61d47fbd1c Fix missing future in devel-arm Dockerfile 2019-07-14 18:39:00 -04:00
Jordan Moore
76b73d807d Fix Docker ARM build 2018-09-30 23:48:00 -05:00
nicolargo
82848384da Add Alpine based container 2018-09-15 22:47:08 +02:00
nicolargo
f5eede0c26 Correct issue on ARM Docker file 2018-09-15 22:07:40 +02:00
nicolargo
5a7dd4489a Add Docker container for ARM 2018-09-15 12:10:01 +02:00
nicolargo
524babd3d7 Rename docker folder to docker-files because import docker return always true... 2018-01-24 20:58:33 +01:00