Skip to content

Commit ef0b96d

Browse files
committed
Update container base image from ruby:3.1-slim to docker.io/library/ruby:3.3-slim, minor adjustments in Taskfile
1 parent 7afaea7 commit ef0b96d

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
-
1111

1212
### Changed
13-
-
13+
- Update container base image from ruby:3.1-slim to docker.io/library/ruby:3.3-slim
14+
- Adjust description and alias in Taskfile
1415

1516
### Fixed
1617
-

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:3.1-slim AS builder
1+
FROM docker.io/library/ruby:3.3-slim AS builder
22

33
RUN apt-get update && apt-get -y install build-essential && rm -rf /var/lib/apt/lists/*
44
WORKDIR jekyll-rdf
@@ -8,14 +8,14 @@ ARG VERSION
88
RUN gem build jekyll-rdf.gemspec && \
99
gem install jekyll-rdf-*.gem mustache
1010

11-
FROM ruby:3.1-slim AS slim
11+
FROM docker.io/library/ruby:3.3-slim AS slim
1212
COPY --from=builder /usr/local/bundle/ /usr/local/bundle/
1313

1414
WORKDIR /data
1515

1616
CMD /usr/local/bundle/bin/jekyll build
1717

18-
FROM ruby:3.1-slim
18+
FROM docker.io/library/ruby:3.3-slim
1919
COPY --from=builder /jekyll-rdf/docker-resources/ /docker-resources
2020
COPY --from=builder /usr/local/bundle/ /usr/local/bundle/
2121
RUN apt-get update && apt-get -y install build-essential git && rm -rf /var/lib/apt/lists/*

Taskfile.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ tasks:
4242
cmds:
4343
- gem push {{.GEM_NAME}}-{{.GEM_VERSION}}.gem
4444

45-
docker:build:
46-
desc: The list of all defined tasks
45+
image:build:
46+
desc: Build the docker image for the current version
47+
aliases: [podman:build, docker:build]
4748
cmds:
4849
- docker build --no-cache --build-arg VERSION={{.GEM_VERSION}} -t {{.DOCKER_IMAGE}}:{{.GEM_VERSION}} .
4950

0 commit comments

Comments
 (0)