Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the docker files #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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