Compare commits
1 Commits
4b3f38dc61
...
cd64966896
| Author | SHA1 | Date | |
|---|---|---|---|
| cd64966896 |
@@ -1,2 +0,0 @@
|
|||||||
cmd: './build.sh'
|
|
||||||
name: 'Run build.sh'
|
|
||||||
@@ -1,2 +1,13 @@
|
|||||||
cmd: '{FILE_ACTIVE}'
|
cmd: '{FILE_ACTIVE}'
|
||||||
name: 'Run build.sh'
|
name: 'Run build.sh'
|
||||||
|
targets:
|
||||||
|
Persistent F31 container:
|
||||||
|
cmd: 'run-with-podman.sh --file {FILE_ACTIVE} --file-path {FILE_ACTIVE_PATH} --mode 1 --mask-dir RPMS --image fedora:latest --force-systemd -- -d -b'
|
||||||
|
Reset and run persistent F31 container:
|
||||||
|
cmd: 'run-with-podman.sh --file {FILE_ACTIVE} --file-path {FILE_ACTIVE_PATH} --mode 2 --mask-dir RPMS --image fedora:latest --force-systemd -- -d -b'
|
||||||
|
Nonpersistent F31 container w/ output:
|
||||||
|
cmd: 'run-with-podman.sh --file {FILE_ACTIVE} --file-path {FILE_ACTIVE_PATH} --mode 0 --image jekyll:latest'
|
||||||
|
Persistent F31 container w/ output:
|
||||||
|
cmd: 'run-with-podman.sh --file {FILE_ACTIVE} --file-path {FILE_ACTIVE_PATH} --mode 1 --image fedora:latest --force-systemd -- -d -b'
|
||||||
|
Reset and run persistent F31 container w/ output:
|
||||||
|
cmd: 'run-with-podman.sh --file {FILE_ACTIVE} --file-path {FILE_ACTIVE_PATH} --mode 2 --image fedora:latest --force-systemd -- -d -b'
|
||||||
|
|||||||
22
build.sh
22
build.sh
@@ -1,22 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# build and deploy
|
|
||||||
#podman build \
|
|
||||||
# --rm \
|
|
||||||
# -it \
|
|
||||||
# -v "$PWD:/srv/jekyll" \
|
|
||||||
# -v "$PWD/vendor/bundle:/usr/local/bundle" \
|
|
||||||
# -u 1000:1001 \
|
|
||||||
# jekyll:latest \
|
|
||||||
# bundle update
|
|
||||||
|
|
||||||
podman build -t atomjekylltemp .
|
|
||||||
podman run \
|
|
||||||
--rm \
|
|
||||||
-it \
|
|
||||||
-p 4000:4000 \
|
|
||||||
-v "$PWD:/srv/jekyll" \
|
|
||||||
-v "$PWD/vendor/bundle:/usr/local/bundle" \
|
|
||||||
localhost/atomjekylltemp
|
|
||||||
|
|
||||||
#podman rmi localhost/atomjekylltemp
|
|
||||||
Reference in New Issue
Block a user