Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions pg-streaming-machine-learning/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
FROM python:3.7-slim

RUN echo 'sudo aptitude install debian-archive-keyring'

RUN echo 'apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553'\
echo 'deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list


RUN echo 'deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main' >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends apt-utils
RUN echo 'apt-get update' \
echo 'apt-get install -y --no-install-recommends apt-utils'


ENV PIP_FORMAT=legacy
ENV PIP_DISABLE_PIP_VERSION_CHECK=1

RUN apt-get install -y netcat && apt-get autoremove -y
RUN echo 'apt-get install -y netcat && apt-get autoremove -y'

RUN adduser --disabled-password --gecos '' pg

Expand Down