forked from fleg/hswro_org
Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
07a78f2f5f | |
|
914b3b5317 |
|
@ -3,12 +3,12 @@ on:
|
|||
branches:
|
||||
- main
|
||||
jobs:
|
||||
test:
|
||||
build_website:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: git.hswro.org/fleg/hswro_org:latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
- run: bundle exec jekyll build
|
||||
- uses: actions/upload-artifact@v3
|
||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -1,7 +1,11 @@
|
|||
FROM fedora:41
|
||||
FROM ubuntu:22.04
|
||||
|
||||
RUN dnf -y upgrade \
|
||||
&& dnf install -y ruby ruby-devel openssl-devel redhat-rpm-config gcc-c++ @development-tools nodejs git \
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ruby-full build-essential zlib1g-dev \
|
||||
build-essential \
|
||||
git nodejs git \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& gem install --no-document jekyll -v 4.4.1 \
|
||||
&& gem install --no-document jekyll-environment-variables \
|
||||
&& gem install --no-document webrick -v 1.7
|
||||
&& gem install --no-document webrick -v 1.7 \
|
||||
&& gem install bundler
|
||||
|
|
Loading…
Reference in New Issue