Compare commits
1 Commits
d91d43fa01
...
b1f816924a
| Author | SHA1 | Date | |
|---|---|---|---|
| b1f816924a |
@@ -1,2 +1,2 @@
|
|||||||
cmd: './build.sh'
|
cmd: '{FILE_ACTIVE} {FILE_ACTIVE_PATH}'
|
||||||
name: 'Run build.sh'
|
name: 'Run build.sh'
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
cmd: '{FILE_ACTIVE}'
|
cmd: '{FILE_ACTIVE} {FILE_ACTIVE_PATH}'
|
||||||
name: 'Run build.sh'
|
name: 'Run build.sh'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
FROM jekyll/jekyll
|
FROM jekyll/jekyll
|
||||||
|
|
||||||
COPY --chown=jekyll:jekyll Gemfile .
|
COPY --chown=jekyll:jekyll Gemfile .
|
||||||
COPY --chown=jekyll:jekyll Gemfile.lock .
|
#COPY --chown=jekyll:jekyll Gemfile.lock .
|
||||||
|
|
||||||
RUN bundle install --clean
|
RUN bundle install --clean
|
||||||
|
|
||||||
|
|||||||
@@ -241,11 +241,10 @@ GEM
|
|||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
x64-mingw32
|
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
github-pages (= 197)
|
github-pages (= 197)
|
||||||
jekyll-paginate
|
jekyll-paginate
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.17.3
|
2.0.2
|
||||||
|
|||||||
@@ -10,13 +10,14 @@
|
|||||||
# jekyll:latest \
|
# jekyll:latest \
|
||||||
# bundle update
|
# bundle update
|
||||||
|
|
||||||
podman build -t atomjekylltemp .
|
podman build -t atomjekylltemp "$1"
|
||||||
podman run \
|
podman run \
|
||||||
--rm \
|
--rm \
|
||||||
-it \
|
-it \
|
||||||
-p 4000:4000 \
|
-p 4000:4000 \
|
||||||
-v "$PWD:/srv/jekyll" \
|
-v "${1}:/srv/jekyll" \
|
||||||
-v "$PWD/vendor/bundle:/usr/local/bundle" \
|
-v "${1}/vendor/bundle:/usr/local/bundle" \
|
||||||
localhost/atomjekylltemp
|
localhost/atomjekylltemp \
|
||||||
|
/bin/bash
|
||||||
|
|
||||||
#podman rmi localhost/atomjekylltemp
|
#podman rmi localhost/atomjekylltemp
|
||||||
|
|||||||
@@ -1,13 +1,2 @@
|
|||||||
cmd: '{FILE_ACTIVE}'
|
cmd: '{FILE_ACTIVE} {FILE_ACTIVE_PATH}'
|
||||||
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'
|
|
||||||
|
|||||||
@@ -10,13 +10,22 @@
|
|||||||
# jekyll:latest \
|
# jekyll:latest \
|
||||||
# bundle update
|
# bundle update
|
||||||
|
|
||||||
podman build -t atomjekylltemp2 .
|
podman build -t atomjekylltemp2 "$1"
|
||||||
|
#podman run \
|
||||||
|
# --rm \
|
||||||
|
# -it \
|
||||||
|
# -p 4001:4000 \
|
||||||
|
# -v "${1}:/srv/jekyll" \
|
||||||
|
# -v "${1}/vendor/bundle:/usr/local/bundle" \
|
||||||
|
# localhost/atomjekylltemp2 \
|
||||||
|
# bundle --version
|
||||||
|
|
||||||
podman run \
|
podman run \
|
||||||
--rm \
|
--rm \
|
||||||
-it \
|
-it \
|
||||||
-p 4001:4000 \
|
-v "${1}:/srv/jekyll" \
|
||||||
-v "$PWD:/srv/jekyll" \
|
-v "${1}/vendor/bundle:/usr/local/bundle" \
|
||||||
-v "$PWD/vendor/bundle:/usr/local/bundle" \
|
localhost/atomjekylltemp2 \
|
||||||
localhost/atomjekylltemp2
|
bundle --version
|
||||||
|
|
||||||
#podman rmi localhost/atomjekylltemp_2
|
#podman rmi localhost/atomjekylltemp_2
|
||||||
|
|||||||
Reference in New Issue
Block a user