Update Dockerfile to resolve #671 (#685)

Summary:
Applied fix mentioned in https://github.com/facebook/duckling/issues/671 to resolve https://github.com/facebook/duckling/issues/671

Since, no PR to fix this is present, I simply open a PR with the suggestion of AbstractUmbra.
The suggested fix seems to work (Docker Image builds and is operational)

Pull Request resolved: https://github.com/facebook/duckling/pull/685

Test Plan:
The author verified that the docker image works - it was missing some dependencies before.

There's no way to test this in sigma, but the change makes sense.

Reviewed By: haoxuany

Differential Revision: D34697708

Pulled By: stroxler

fbshipit-source-id: 2731604e136acfd74d4eedf3bf309f79894bb981
This commit is contained in:
Dominik Fuchß 2022-03-07 16:48:15 -08:00 committed by Facebook GitHub Bot
parent 881d189d4b
commit 1faab00741

View File

@ -1,7 +1,7 @@
FROM haskell:8-buster AS builder
RUN apt-get update -qq && \
apt-get install -qq -y libpcre3 libpcre3-dev build-essential --fix-missing --no-install-recommends && \
apt-get install -qq -y libpcre3 libpcre3-dev build-essential pkg-config --fix-missing --no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*