Verified Commit c0310b14 authored by Peter Stanko's avatar Peter Stanko
Browse files

Base image changed to the debian

parent 47eed25b
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
FROM python:3.6-alpine
FROM python:3.6


LABEL maintainer="Peter Stanko (peter.stanko0@gmail.com)"
LABEL maintainer="Peter Stanko (peter.stanko0@gmail.com)"
LABEL image="kontr2/base-pipenv"
LABEL image="kontr2/base-pipenv"
@@ -11,11 +11,11 @@ RUN echo -e "Host *\n\tStrictHostKeyChecking no\n" >> /root/.ssh/config




# Install gcc and git
# Install gcc and git
RUN apk update && apk add build-base git openssh libffi libffi-dev openssl-dev
RUN apt-get update -y && apt-get install libsasl2-dev


RUN pip install --upgrade pip
RUN pip install --upgrade pip


RUN pip install pipenv
RUN pip install pipenv


RUN adduser -S kontr
RUN useradd -ms /bin/bash kontr
+8 −0
Original line number Original line Diff line number Diff line
@@ -20,6 +20,7 @@ services:
    - redis
    - redis
    volumes:
    volumes:
    - storage-volume:/tmp
    - storage-volume:/tmp
    - ssh-volume:/root/.ssh


  celery-portal:
  celery-portal:
    image: 'kontr2/portal'
    image: 'kontr2/portal'
@@ -39,6 +40,7 @@ services:
    - db_nw
    - db_nw
    volumes:
    volumes:
    - storage-volume:/tmp
    - storage-volume:/tmp
    - ssh-volume:/root/.ssh


  redis:
  redis:
    image: "redis:alpine"
    image: "redis:alpine"
@@ -136,3 +138,9 @@ volumes:
      type: none
      type: none
      device: /tmp
      device: /tmp
      o: bind
      o: bind
  ssh-volume:
    driver: local
    driver_opts:
      type: none
      device: ${HOME}/.ssh
      o: bind