20 lines
455 B
Docker
20 lines
455 B
Docker
|
|
FROM ubuntu:latest
|
||
|
|
|
||
|
|
RUN apt-get update \
|
||
|
|
&& apt-get install -y --no-install-recommends php-dev
|
||
|
|
RUN apt-get install -y --no-install-recommends curl ca-certificates libclang-dev
|
||
|
|
# libssl-dev zlib1g-dev curl git unzip libxml2-dev libpq-dev libzip-dev \
|
||
|
|
#libfcgi-bin
|
||
|
|
USER ubuntu
|
||
|
|
|
||
|
|
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
||
|
|
|
||
|
|
WORKDIR /build
|
||
|
|
|
||
|
|
COPY . .
|
||
|
|
|
||
|
|
# Has to run in bash to get the cargo env setup in .bashrc
|
||
|
|
RUN \
|
||
|
|
./build.sh
|
||
|
|
|