Skip to content

Commit 1d0afd4

Browse files
authored
[CI SKIP] Add Slim/Alpine Troubleshooting
#51 (comment)
1 parent d343e23 commit 1d0afd4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,15 @@ Example of logs:
279279
{"All":"all","ErrorMessage":"","_aws":{"CloudWatchMetrics":[{"Dimensions":[["All","lib"]],"Metrics":[{"Name":"delete_file","Unit":"Count"}],"Namespace":"Crypteia"}],"Timestamp":1670424179575},"delete_file":1,"lib":"lib"}
280280
```
281281

282+
If you are using a slim image such as bookworm slim or alpine, you might have missing dependencies. Recent [issue report](https://github.com/rails-lambda/crypteia/issues/51#issuecomment-2739322306) suggests the following addition to your image may help:
283+
284+
```docerfile
285+
RUN apt-get update && apt-get install -y --no-install-recommends \
286+
ca-certificates \
287+
&& update-ca-certificates \
288+
&& rm -rf /var/lib/apt/lists/*
289+
```
290+
282291
## Development
283292

284293
This project is built for [GitHub Codespcaes](https://github.com/features/codespaces) using the [Development Container](https://containers.dev) specification. Even though Codespaces may not be available to everyone, this project's containers are simple for anyone to make work with any editor.

0 commit comments

Comments
 (0)