forked from HSWro/hswro_org
Compare commits
2 Commits
07a78f2f5f
...
9b4ab0998f
| Author | SHA1 | Date |
|---|---|---|
|
|
9b4ab0998f | |
|
|
cd3cedd21d |
|
|
@ -15,3 +15,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: generated-site
|
name: generated-site
|
||||||
path: _site/
|
path: _site/
|
||||||
|
build_and_push_container:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: git.hswro.org/fleg/hswro_org:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
- run: find
|
||||||
|
- run: podman version
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ exclude:
|
||||||
- vendor/cache/
|
- vendor/cache/
|
||||||
- vendor/gems/
|
- vendor/gems/
|
||||||
- vendor/ruby/
|
- vendor/ruby/
|
||||||
|
- docker/
|
||||||
- LICENSE.md
|
- LICENSE.md
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- README.md
|
- README.md
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ FROM ubuntu:22.04
|
||||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||||
ruby-full build-essential zlib1g-dev \
|
ruby-full build-essential zlib1g-dev \
|
||||||
build-essential \
|
build-essential \
|
||||||
git nodejs git \
|
git nodejs git podman \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& gem install --no-document jekyll -v 4.4.1 \
|
&& gem install --no-document jekyll -v 4.4.1 \
|
||||||
&& gem install --no-document jekyll-environment-variables \
|
&& gem install --no-document jekyll-environment-variables \
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
FROM busybox:1.35
|
||||||
|
|
||||||
|
# Create a non-root user to own the files and run our server
|
||||||
|
RUN adduser -D static
|
||||||
|
USER static
|
||||||
|
WORKDIR /home/static
|
||||||
|
|
||||||
|
# Copy the static website
|
||||||
|
# Use the .dockerignore file to control what ends up inside the image!
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Run BusyBox httpd
|
||||||
|
CMD ["busybox", "httpd", "-f", "-v", "-p", "3000"]
|
||||||
Loading…
Reference in New Issue