Compare commits

..

1 Commits

Author SHA1 Message Date
d91d43fa01 Merge upstream and update Gemfile.lock 2020-01-26 02:32:26 -05:00
8 changed files with 26 additions and 24 deletions

View File

@@ -1,2 +1,2 @@
cmd: '{FILE_ACTIVE} {FILE_ACTIVE_PATH}' cmd: './build.sh'
name: 'Run build.sh' name: 'Run build.sh'

View File

@@ -1,2 +1,2 @@
cmd: '{FILE_ACTIVE} {FILE_ACTIVE_PATH}' cmd: '{FILE_ACTIVE}'
name: 'Run build.sh' name: 'Run build.sh'

View File

@@ -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

View File

@@ -241,10 +241,11 @@ GEM
PLATFORMS PLATFORMS
ruby ruby
x64-mingw32
DEPENDENCIES DEPENDENCIES
github-pages (= 197) github-pages (= 197)
jekyll-paginate jekyll-paginate
BUNDLED WITH BUNDLED WITH
2.0.2 1.17.3

View File

@@ -10,14 +10,13 @@
# jekyll:latest \ # jekyll:latest \
# bundle update # bundle update
podman build -t atomjekylltemp "$1" podman build -t atomjekylltemp .
podman run \ podman run \
--rm \ --rm \
-it \ -it \
-p 4000:4000 \ -p 4000:4000 \
-v "${1}:/srv/jekyll" \ -v "$PWD:/srv/jekyll" \
-v "${1}/vendor/bundle:/usr/local/bundle" \ -v "$PWD/vendor/bundle:/usr/local/bundle" \
localhost/atomjekylltemp \ localhost/atomjekylltemp
/bin/bash
#podman rmi localhost/atomjekylltemp #podman rmi localhost/atomjekylltemp

0
build.sh Executable file → Normal file
View File

View File

@@ -1,2 +1,13 @@
cmd: '{FILE_ACTIVE} {FILE_ACTIVE_PATH}' 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'

View File

@@ -10,22 +10,13 @@
# jekyll:latest \ # jekyll:latest \
# bundle update # bundle update
podman build -t atomjekylltemp2 "$1" podman build -t atomjekylltemp2 .
#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 \
-v "${1}:/srv/jekyll" \ -p 4001:4000 \
-v "${1}/vendor/bundle:/usr/local/bundle" \ -v "$PWD:/srv/jekyll" \
localhost/atomjekylltemp2 \ -v "$PWD/vendor/bundle:/usr/local/bundle" \
bundle --version localhost/atomjekylltemp2
#podman rmi localhost/atomjekylltemp_2 #podman rmi localhost/atomjekylltemp_2