Skip to content

Commit c36e5aa

Browse files
committed
Update Dockerfile and Makefile
- Upgrade Ruby base image to 3.3, avoid -slim version. It mess with gem rugged installation - Update maintainer label - Use GitHub source label ghrc.io - Modify Dockerfile packages to install
1 parent d2c3510 commit c36e5aa

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
FROM ruby:3.3.7
1+
FROM ruby:3.3
22

3-
LABEL maintainer="Josh Bielick <[email protected]>"
3+
LABEL maintainer="QAWAII <[email protected]>"
4+
LABEL org.opencontainers.image.source https://github.com/apptweak/pronto-ruby
45

56
ARG BUNDLER_VERSION="2.6.3"
67
ARG NODE_VERSION=14
78

8-
RUN apt-get update && apt-get install -y curl
9-
109
RUN apt-get update && \
11-
apt-get install -y \
12-
ruby-dev \
10+
apt-get install -y --no-install-recommends \
1311
build-essential \
1412
cmake \
13+
curl \
1514
git \
1615
pkg-config \
1716
openssl \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name=ghcr.io/apptweak/pronto-ruby
22

33
image:
4-
docker build -f Dockerfile . -t ${name}:${TAG} -t ${name}:latest
4+
docker build . -f Dockerfile --platform 'linux/amd64' -t ${name}:${TAG} -t ${name}:latest
55

66
test: spec/fixtures/test.git
77
docker run -v "${CURDIR}:/runner" --workdir /runner --entrypoint /runner/dev_entrypoint.sh --rm ${name}:latest rspec

0 commit comments

Comments
 (0)