Skip to content

Commit c17cdd0

Browse files
committed
fix(docker): Add missing alpine package (lsof)
This makes it possible to fix the error: ``` Waiting for process 9 to terminate... 0 Error: process didn't terminate in time ``` triggered by either `--serve-during-build` or `--replace` CLI options.
1 parent 5c736d5 commit c17cdd0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN opam install . --destdir /home/opam/install-prefix --locked
3131
FROM alpine:3.13 as client
3232

3333
RUN apk update \
34-
&& apk add ncurses-libs libev dumb-init openssl \
34+
&& apk add ncurses-libs libev dumb-init openssl lsof \
3535
&& addgroup learn-ocaml \
3636
&& adduser learn-ocaml -DG learn-ocaml
3737

@@ -48,7 +48,7 @@ ENTRYPOINT ["dumb-init","/usr/bin/learn-ocaml-client"]
4848
FROM alpine:3.13 as program
4949

5050
RUN apk update \
51-
&& apk add ncurses-libs libev dumb-init git openssl \
51+
&& apk add ncurses-libs libev dumb-init git openssl lsof \
5252
&& addgroup learn-ocaml \
5353
&& adduser learn-ocaml -DG learn-ocaml
5454

Dockerfile.test-client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ LABEL org.label-schema.build-date="${BUILD_DATE}" \
5151
org.label-schema.schema-version="1.0"
5252

5353
RUN apk update \
54-
&& apk add ncurses-libs libev dumb-init openssl \
54+
&& apk add ncurses-libs libev dumb-init openssl lsof \
5555
&& addgroup learn-ocaml \
5656
&& adduser learn-ocaml -DG learn-ocaml
5757

Dockerfile.test-server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ LABEL org.label-schema.build-date="${BUILD_DATE}" \
5454
org.label-schema.schema-version="1.0"
5555

5656
RUN apk update \
57-
&& apk add ncurses-libs libev dumb-init git openssl \
57+
&& apk add ncurses-libs libev dumb-init git openssl lsof \
5858
&& addgroup learn-ocaml \
5959
&& adduser learn-ocaml -DG learn-ocaml
6060

0 commit comments

Comments
 (0)