[docker] Ensure that we hae all sys packages installed
Change-Id: I9aff0179693ce7d3bb3660f8abbb540e5d8f6c2a
This commit is contained in:
parent
4ca898bcd2
commit
796ef8c0b5
@ -2,7 +2,7 @@ FROM ubuntu:16.04
|
|||||||
|
|
||||||
RUN sed -i s/^deb-src.*// /etc/apt/sources.list
|
RUN sed -i s/^deb-src.*// /etc/apt/sources.list
|
||||||
|
|
||||||
RUN apt-get update && apt-get install --yes sudo python python-pip libpq-dev vim git-core && \
|
RUN apt-get update && apt-get install --yes sudo python python-pip vim git-core && \
|
||||||
pip install --upgrade pip && \
|
pip install --upgrade pip && \
|
||||||
useradd -u 65500 -m rally && \
|
useradd -u 65500 -m rally && \
|
||||||
usermod -aG sudo rally && \
|
usermod -aG sudo rally && \
|
||||||
@ -12,6 +12,9 @@ COPY . /home/rally/source
|
|||||||
COPY etc/motd /etc/motd
|
COPY etc/motd /etc/motd
|
||||||
WORKDIR /home/rally/source
|
WORKDIR /home/rally/source
|
||||||
|
|
||||||
|
# ensure that we have all system packages installed
|
||||||
|
RUN pip install bindep && apt-get install --yes $(bindep -b | tr '\n' ' ')
|
||||||
|
|
||||||
RUN pip install . --constraint upper-constraints.txt && \
|
RUN pip install . --constraint upper-constraints.txt && \
|
||||||
pip install pymysql && \
|
pip install pymysql && \
|
||||||
pip install psycopg2 && \
|
pip install psycopg2 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user