Compare commits
1 Commits
cd64966896
...
4b3f38dc61
| Author | SHA1 | Date | |
|---|---|---|---|
| 4b3f38dc61 |
2
.atom-build.yml
Normal file
2
.atom-build.yml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
cmd: './build.sh'
|
||||||
|
name: 'Run build.sh'
|
||||||
@@ -1,13 +1,2 @@
|
|||||||
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
Normal file
22
build.sh
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/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