Commit graph

7 commits

Author SHA1 Message Date
Dalibor Filus
454a747a68
Update Dockerfile for Crystal 1.8 + check if binary works
Crystal 1.8.0+ require pcre2.

Let's also add `RUN ameba -v` to check if the binary actually works.
Fixes cases like this:

```shell
$ docker run --rm -ti ameba:latest sh
Error loading shared library libpcre2-8.so.0: No such file or directory (needed by /usr/bin/ameba)
Error relocating /usr/bin/ameba: pcre2_get_ovector_count_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_config_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_get_ovector_pointer_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_match_data_create_from_pattern_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_jit_stack_assign_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_code_free_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_match_context_create_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_jit_compile_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_compile_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_get_error_message_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_jit_stack_create_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_match_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_match_data_free_8: symbol not found
Error relocating /usr/bin/ameba: pcre2_pattern_info_8: symbol not found
```
2023-04-22 11:41:49 +02:00
Sijawusz Pur Rahnama
6aa36f3d9e Remove OpenSSL from Docker image 2022-12-20 17:09:28 +01:00
Sijawusz Pur Rahnama
2805e12b9c
Use alpine:edge for ameba builder image 2022-11-10 04:42:13 +01:00
Sijawusz Pur Rahnama
c1deb8ab73
Use alpine:latest image in Dockerfile 2021-03-08 11:08:31 +02:00
Vitalii Elenhaupt
5ee54293a8
Upgrade alpine img
refs #166
2020-08-26 22:42:29 +03:00
Vitalii Elenhaupt
bbb0cf51e7
Use make to build ameba in docker, add installation info 2018-08-25 13:55:07 +03:00
Alistair A. Israel
970d341ea0 Feature/dockerfile (#73)
* Working Dockerfile

* No need for crystal in distribution image
2018-08-25 13:54:13 +03:00