Build docker containers quickly with Spack integration.
Project description
Operating Systems supported:
- Ubuntu ✅
- Red Hat ✅
- SUSE (In progress)
Backends supported:
- Docker ✅
- Podman (In progress)
E4S-ALC
Build docker images quickly with Spack integration.
Install
$ pip3 install e4s-alc
Usage
Initialize the backend
$ e4s-alc init
Create image
$ e4s-alc create \
--image centos:8 \
--name my-centos-image \
-p py-numpy \
-p autodiff
or
$ e4s-alc create \
--image ubuntu:22.04 \
--name my-ubuntu-image \
--no-spack
or
$ cat test.json
{
"image": "ubuntu:22.04",
"name": "test-file-kokkos-raja",
"spack": true,
"spack-packages": [
"kokkos",
"raja"
],
"os-packages": [
"neovim",
"valgrind"
]
}
$ e4s-alc create -f test.json
Add package to image
$ e4s-alc add -n my-ubuntu-image -p kokkos -a neovim
Examples
Create an E4S image loaded with intel oneapi compilers and create a centos:8 image loaded with kokkos in a single call:
$ e4s-alc create \
--image ecpe4s/ubuntu20.04-runner-x86_64:2022-12-01 \
--name e4s-intel \
-p intel-oneapi-compilers \
&& \
e4s-alc create \
--image centos:8 \
--name centos8-kokkos \
-p kokkos
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
e4s-alc-0.1.1.tar.gz
(11.4 kB
view details)
Built Distribution
e4s_alc-0.1.1-py3-none-any.whl
(16.7 kB
view details)
File details
Details for the file e4s-alc-0.1.1.tar.gz
.
File metadata
- Download URL: e4s-alc-0.1.1.tar.gz
- Upload date:
- Size: 11.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d31a206a9a201a26bb2fa60d7eb29b176d0bb972c65eea0099fbc7c4c2182764 |
|
MD5 | ccca265d0abaef5007d0e9b428e16ae0 |
|
BLAKE2b-256 | 3c124a582b6136650c8af51a6b998b7958e8fcdd71c9a67a1639385ab3882caf |
File details
Details for the file e4s_alc-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: e4s_alc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fb8d1ddcbc7c18cdea137c960e026fc83697dcc236438e31fdc5540bfe9b00a |
|
MD5 | 1ebdf1fef0384f9d95b3ba716a65339e |
|
BLAKE2b-256 | 1b998cfba7ecf2b8f7d102b88357773b66f268ffd6cfecf32e811d01ec411a29 |