Skip to content

Commit 7ce706b

Browse files
authored
Simplify Docker image build.
In principle, the second command is not needed since coq-bot already depends on bot-components. Furthermore, since a few days, this second command seems to consistently trigger a timeout in our CI during the Docker build. So removing it could help fix this issue.
1 parent 850d39c commit 7ce706b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

release.Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ RUN opam install . --destdir /src/opam-install
1717

1818
# Store the dynamic dependencies of the server
1919
RUN opam depext -ln coq-bot > /src/depexts-coq-bot
20-
RUN opam depext -ln bot-components > /src/depexts-bot-components
2120

2221

2322
FROM alpine:3.10 AS app
@@ -33,12 +32,10 @@ RUN apk update \
3332
&& adduser coqbot -DG coqbot
3433

3534
COPY --from=builder /src/depexts-coq-bot depexts-coq-bot
36-
COPY --from=builder /src/depexts-bot-components depexts-bot-components
3735

3836
# Install the required dynamic dependencies
3937
RUN cat depexts-coq-bot | xargs apk --update add
40-
RUN cat depexts-bot-components | xargs apk --update add
4138

4239
EXPOSE 8000
4340

44-
CMD ["./bot.exe"]
41+
CMD ["./bot.exe"]

0 commit comments

Comments
 (0)