Fabio Manganiello
3a4d7afcf0
Clean up all package manager caches after Docker build.
2024-05-25 14:15:13 +02:00
Fabio Manganiello
e071e99dab
Remove all cached/compiled Python files after Docker build.
2024-05-25 13:36:52 +02:00
Fabio Manganiello
8e05a7f4c9
Make Dockerfiles work both within and outside a Platypush source dir.
...
If the Platypush setup.py is found in the current directory, then use
that directory as the base for the new image.
Otherwise, clone the repo on the fly and build the image from there.
2024-05-25 00:42:30 +02:00
Fabio Manganiello
3ccdd4d179
Updated `pip ... --break-system-packages` configuration.
...
All the latest versions of Alpine, Debian, Ubuntu and Fedora now require
`--break-system-packages` when installing packages via `pip` outside of
a virtual environment, even if it's within a container.
2024-05-24 22:59:42 +02:00
Fabio Manganiello
901338e228
[ #397 ] Replaced bcrypt dependency with native hashlib logic.
...
continuous-integration/drone/push Build is failing
Details
Closes : #397
2024-05-05 21:38:27 +02:00
Fabio Manganiello
3598253558
Reduced Docker images to a single layer.
continuous-integration/drone/push Build is passing
Details
2024-01-15 21:54:22 +01:00
Fabio Manganiello
841643f3ff
Added `cachedir` to configuration.
2023-10-09 01:33:44 +02:00
Fabio Manganiello
2b981f6b68
Added python-croniter dependency to Fedora.
...
Plus, some clean up of the variables on .drone.yaml.
2023-09-23 16:20:28 +02:00
Fabio Manganiello
a872d6f554
Added Fedora to the available Docker base images.
2023-09-22 19:02:13 +02:00
Fabio Manganiello
761f2768cb
[ #316 ] Added RPM dependencies.
continuous-integration/drone/push Build is passing
Details
2023-09-21 23:20:06 +02:00
Fabio Manganiello
bdbe263905
Added croniter to system dependencies.
...
The python-croniter package has now been added both to Arch's and
Debian's official repos, so we can install it via pacman or apt rather
than pip.
2023-09-21 01:07:49 +02:00
Fabio Manganiello
3970470e17
Removed typing-inspect dependenccy
continuous-integration/drone/push Build is passing
Details
2023-09-18 14:25:50 +02:00
Fabio Manganiello
3e8d6bb01e
Removed `typing-extensions` dependency.
...
continuous-integration/drone/push Build is failing
Details
The package isn't present on older versions of Debian.
2023-09-18 14:05:39 +02:00
Fabio Manganiello
10c0e5fcad
Added default_os field to PackageManagers enum elements.
...
This is useful to determine which is the default set of scripts that
should be used by the installer depending on the detected installed
package manager.
2023-08-20 21:21:37 +02:00
Fabio Manganiello
a28dcb7a8d
Remove /var/cache/apk from container image after installation.
2023-08-20 14:19:04 +02:00
Fabio Manganiello
a6f8021150
`PackageManager` has both `install` and `uninstall`.
continuous-integration/drone/push Build is passing
Details
2023-08-20 13:33:49 +02:00
Fabio Manganiello
28ba042810
If no configuration file is passed to platydock generate a minimal Dockerfile.
continuous-integration/drone/push Build was killed
Details
2023-08-20 03:36:34 +02:00
Fabio Manganiello
199ac5f0f7
New way of managing installation scripts and dependencies.
...
Created `platypush/install` folder that contains:
- Dockerfiles for the supported distros
- Lists of required base dependencies for the supported distros
- Install and run scripts
- Added Debian to supported base images
2023-08-20 02:28:10 +02:00