Skip to content

Commit e8ff3d2

Browse files
author
David Zuckerman
committed
took out some unnecessary installs in Dockerfile, updated README
1 parent 8eb1554 commit e8ff3d2

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

Dockerfile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,11 @@ RUN groupadd -g 40054 alma && \
1212
chown -R bfs:bfs /opt/app
1313

1414
# Get list of available packages
15-
RUN apt-get update -qq
16-
17-
# Install system packages needed to build gems with C extensions.
18-
RUN apt-get install -y --no-install-recommends \
19-
g++ \
20-
git \
15+
RUN apt-get -y update && \
16+
apt-get -y --no-install-recommends install \
2117
build-essential \
22-
libxml2-dev \
23-
libxslt1-dev \
2418
make
2519

26-
2720
WORKDIR /opt/app
2821
COPY --chown=bfs Gemfile* .ruby-version ./
2922
RUN bundle config set force_ruby_platform true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Watch a non-standard directory:
3333

3434
```sh
3535
docker compose run --rm app watch /path/in/container # absolute path
36-
docker compose run --rm app watch data/somedir # path relative to /opt/app-root/src
36+
docker compose run --rm app watch data/somedir # path relative to /opt/app
3737
```
3838

3939
Process a specific file:

0 commit comments

Comments
 (0)