Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ jobs:
run: |
docker compose exec -e RAILS_ENV=test app rspec --format progress --format html --out artifacts/rspec.html

- name: Run Rubocop
if: ${{ always() }}
run: |
docker compose exec app rubocop --format progress --format html --out artifacts/rubocop.html

- name: Copy out artifacts
if: ${{ always() }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ testfiles/*

secrets/*
!secrets/.keep

.cache
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#FROM debian:bullseye-slim
FROM ruby:3.3-slim AS base
FROM ruby:3.4-slim AS base
USER root

RUN apt-get update

# Create the application user/group and application directory
RUN groupadd -g 40054 alma && \
useradd -r -s /sbin/nologin -M -u 40054 -g alma alma && \
useradd -r -s /sbin/nologin -M -u 40054 -g alma -d /opt/app alma && \
mkdir -p /opt/app && \
chown -R alma:alma /opt/app

Expand All @@ -24,7 +24,7 @@ RUN apt-get install -y --no-install-recommends \

USER alma

RUN gem install bundler --version 4.0.9
RUN gem install bundler --version 4.0.15
COPY --chown=alma:alma Gemfile* ./
RUN bundle install
COPY --chown=alma:alma . .
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ DEPENDENCIES
thor (~> 1.1)

BUNDLED WITH
4.0.9
4.0.15
Loading