mirror of
https://github.com/facebook/duckling.git
synced 2024-09-11 13:25:40 +03:00
Dockerfile: debugs the build and uses Debian Buster everywhere (#539)
Summary: The Dockerfile build part did not copy the Duckling implementation into the container, making the build fail. I also harmonized the target Debian to Buster, that is the one currently hidden behind `haskell:8`. Pull Request resolved: https://github.com/facebook/duckling/pull/539 Reviewed By: patapizza Differential Revision: D24688839 Pulled By: chessai fbshipit-source-id: 0ffcc4d28a599b7edad668730117828d26e116ad
This commit is contained in:
parent
bfc75849d2
commit
888b1cba35
@ -1,4 +1,4 @@
|
||||
FROM haskell:8 AS builder
|
||||
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 && \
|
||||
@ -9,7 +9,7 @@ RUN mkdir /log
|
||||
|
||||
WORKDIR /duckling
|
||||
|
||||
ADD stack.yaml .
|
||||
ADD . .
|
||||
|
||||
ENV LANG=C.UTF-8
|
||||
|
||||
@ -23,7 +23,7 @@ ADD . .
|
||||
# '-j1' flag to force the build to run sequentially.
|
||||
RUN stack install
|
||||
|
||||
FROM debian:stretch
|
||||
FROM debian:buster
|
||||
|
||||
ENV LANG C.UTF-8
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user