Skip to content

baseimage: updated README.md (updated packages) #3634

baseimage: updated README.md (updated packages)

baseimage: updated README.md (updated packages) #3634

Workflow file for this run

name: CI
on: [push]
jobs:
debian:
name: debian
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/debian
# no need to save image as artifact
# no need to push image
baseimage:
name: baseimage
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/baseimage:latest baseimage
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/baseimage
# save image as artifact
- run: docker save minimum2scp/baseimage:latest | pigz -c - > /tmp/baseimage.tar.gz
- uses: actions/upload-artifact@v6
with: { name: baseimage, path: /tmp/baseimage.tar.gz }
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/baseimage:latest
if: github.ref == 'refs/heads/master'
ruby:
name: ruby
runs-on: ubuntu-latest
needs: [baseimage]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage, path: /tmp }
- run: pigz -c -d /tmp/baseimage.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/ruby:latest ruby
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/ruby
# save image as artifact
- run: docker save minimum2scp/ruby:latest | pigz -c - > /tmp/ruby.tar.gz
- uses: actions/upload-artifact@v6
with: { name: ruby, path: /tmp/ruby.tar.gz }
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/ruby:latest
if: github.ref == 'refs/heads/master'
nodejs:
name: nodejs
runs-on: ubuntu-latest
needs: [baseimage]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage, path: /tmp }
- run: pigz -c -d /tmp/baseimage.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/nodejs:latest nodejs
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/nodejs
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/nodejs:latest
if: github.ref == 'refs/heads/master'
es-kibana:
name: es-kibana
runs-on: ubuntu-latest
needs: [baseimage]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage, path: /tmp }
- run: pigz -c -d /tmp/baseimage.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/es-kibana:latest es-kibana
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html
- run: sudo sysctl -w vm.max_map_count=262144
# run test
- run: bundle exec rspec spec/es-kibana
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/es-kibana:latest
if: github.ref == 'refs/heads/master'
systemd:
name: systemd
runs-on: ubuntu-latest
needs: [baseimage]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage, path: /tmp }
- run: pigz -c -d /tmp/baseimage.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/systemd:latest systemd
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/systemd
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/systemd:latest
if: github.ref == 'refs/heads/master'
squid:
name: squid
runs-on: ubuntu-latest
needs: [baseimage]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage, path: /tmp }
- run: pigz -c -d /tmp/baseimage.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/squid:latest squid
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/squid
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/squid:latest
if: github.ref == 'refs/heads/master'
norikra:
name: norikra
runs-on: ubuntu-latest
needs: [ruby]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: ruby, path: /tmp }
- run: pigz -c -d /tmp/ruby.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/norikra:latest norikra
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/norikra
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/norikra:latest
if: github.ref == 'refs/heads/master'
ruby-full:
name: ruby-full
runs-on: ubuntu-latest
needs: [ruby]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: ruby, path: /tmp }
- run: pigz -c -d /tmp/ruby.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/ruby-full:latest ruby-full
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/ruby-full
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/ruby-full:latest
if: github.ref == 'refs/heads/master'
rails7:
name: rails7
runs-on: ubuntu-latest
needs: [ruby]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: ruby, path: /tmp }
- run: pigz -c -d /tmp/ruby.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/rails7:latest rails7
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/rails7
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/rails7:latest
if: github.ref == 'refs/heads/master'
tdiary:
name: tdiary
runs-on: ubuntu-latest
needs: [ruby]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: ruby, path: /tmp }
- run: pigz -c -d /tmp/ruby.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/tdiary:latest tdiary
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/tdiary
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/tdiary:latest
if: github.ref == 'refs/heads/master'
debian-trixie:
name: debian-trixie
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/debian-trixie
# no need to save image as artifact
# no need to push image
baseimage-trixie:
name: baseimage-trixie
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/baseimage-trixie:latest baseimage-trixie
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/baseimage-trixie
# save image as artifact
- run: docker save minimum2scp/baseimage-trixie:latest | pigz -c - > /tmp/baseimage-trixie.tar.gz
- uses: actions/upload-artifact@v6
with: { name: baseimage-trixie, path: /tmp/baseimage-trixie.tar.gz }
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/baseimage-trixie:latest
if: github.ref == 'refs/heads/master'
ruby-trixie:
name: ruby-trixie
runs-on: ubuntu-latest
needs: [baseimage-trixie]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage-trixie, path: /tmp }
- run: pigz -c -d /tmp/baseimage-trixie.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/ruby-trixie:latest ruby-trixie
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/ruby-trixie
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/ruby-trixie:latest
if: github.ref == 'refs/heads/master'
systemd-trixie:
name: systemd-trixie
runs-on: ubuntu-latest
needs: [baseimage-trixie]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage-trixie, path: /tmp }
- run: pigz -c -d /tmp/baseimage-trixie.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/systemd-trixie:latest systemd-trixie
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/systemd-trixie
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/systemd-trixie:latest
if: github.ref == 'refs/heads/master'
debian-bookworm:
name: debian-bookworm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/debian-bookworm
# no need to save image as artifact
# no need to push image
baseimage-bookworm:
name: baseimage-bookworm
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/baseimage-bookworm:latest baseimage-bookworm
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/baseimage-bookworm
# save image as artifact
- run: docker save minimum2scp/baseimage-bookworm:latest | pigz -c - > /tmp/baseimage-bookworm.tar.gz
- uses: actions/upload-artifact@v6
with: { name: baseimage-bookworm, path: /tmp/baseimage-bookworm.tar.gz }
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/baseimage-bookworm:latest
if: github.ref == 'refs/heads/master'
ruby-bookworm:
name: ruby-bookworm
runs-on: ubuntu-latest
needs: [baseimage-bookworm]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage-bookworm, path: /tmp }
- run: pigz -c -d /tmp/baseimage-bookworm.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/ruby-bookworm:latest ruby-bookworm
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/ruby-bookworm
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/ruby-bookworm:latest
if: github.ref == 'refs/heads/master'
systemd-bookworm:
name: systemd-bookworm
runs-on: ubuntu-latest
needs: [baseimage-bookworm]
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y --no-install-recommends pigz
# load parent image
- uses: actions/download-artifact@v7
with: { name: baseimage-bookworm, path: /tmp }
- run: pigz -c -d /tmp/baseimage-bookworm.tar.gz | docker load
# build image
- uses: actions/checkout@v6
- run: docker build -t minimum2scp/systemd-bookworm:latest systemd-bookworm
# setup ruby
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4'
bundler-cache: true
# run test
- run: bundle exec rspec spec/systemd-bookworm
# no need to save image as artifact
# push image to docker hub
- run: docker login -u minimum2scp -p ${{ secrets.DOCKERHUB_TOKEN }}
if: github.ref == 'refs/heads/master'
- run: docker push minimum2scp/systemd-bookworm:latest
if: github.ref == 'refs/heads/master'