Compare commits

..

1 次程式碼提交

作者 SHA1 備註 提交日期
d91d43fa01 Merge upstream and update Gemfile.lock 2020-01-26 02:32:26 -05:00
共有 8 個文件被更改,包括 26 次插入24 次删除

查看文件

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

查看文件

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

查看文件

@@ -1,7 +1,7 @@
FROM jekyll/jekyll
COPY --chown=jekyll:jekyll Gemfile .
#COPY --chown=jekyll:jekyll Gemfile.lock .
COPY --chown=jekyll:jekyll Gemfile.lock .
RUN bundle install --clean

查看文件

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

查看文件

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

0
build.sh Executable file → Normal file
查看文件

查看文件

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