Skip to content

Commit 9f37347

Browse files
authored
install libvips42 (#1852)
1 parent e81da41 commit 9f37347

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/rubyonrails.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
bundler-cache: true
4343
- name: Install dependencies
44-
run: yarn install
44+
run: yarn install && sudo apt-get install libvips42
4545
# Add or replace test runners here
4646
- name: Start containers
4747
run: cp .env.test.ci .env.test && cp .env.test .env && cp docker-compose.ci.yml docker-compose.override.yml && docker-compose up -d solr tika

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ RUN mkdir -p /etc/apt/keyrings && \
2323
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor -o /etc/apt/keyrings/yarnkey.gpg && \
2424
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
2525
echo "deb [signed-by=/etc/apt/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list && \
26-
apt-get update -qq && apt-get install -y nodejs yarn postgresql-client imagemagick poppler-utils ffmpeg && apt-get clean && rm -rf /var/lib/apt/lists/*
26+
apt-get update -qq && apt-get install -y nodejs yarn postgresql-client imagemagick poppler-utils ffmpeg libvips42 && \
27+
apt-get clean && rm -rf /var/lib/apt/lists/*
2728
RUN mkdir /enju && chown -R enju:enju /enju
2829
USER enju
2930
WORKDIR /enju

config/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
module EnjuLeaf
1515
class Application < Rails::Application
1616
# Initialize configuration defaults for originally generated Rails version.
17-
config.load_defaults 6.1
17+
config.load_defaults 7.0
1818

1919
# Configuration for the application, engines, and railties goes here.
2020
#

0 commit comments

Comments
 (0)