mirror of https://github.com/yandex/odyssey.git
26 lines
697 B
Docker
26 lines
697 B
Docker
FROM ubuntu:bionic
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
curl \
|
|
ca-certificates \
|
|
gnupg \
|
|
lsb-release
|
|
|
|
RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
|
|
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
cmake \
|
|
gcc \
|
|
gdb \
|
|
libpam0g-dev \
|
|
libssl-dev \
|
|
postgresql-server-dev-11 \
|
|
valgrind
|
|
|
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
RUN chmod a+x /usr/local/bin/entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|