mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Changes to the Dockerfile-dev broke the CI
Solution: Reverted the changes
This commit is contained in:
parent
7cdc5ea58c
commit
f653dc8de0
@ -1,4 +1,5 @@
|
|||||||
FROM python:3.6
|
ARG python_version=3.6
|
||||||
|
FROM python:${python_version}
|
||||||
LABEL maintainer "dev@bigchaindb.com"
|
LABEL maintainer "dev@bigchaindb.com"
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
@ -7,3 +8,29 @@ RUN apt-get update \
|
|||||||
&& pip install pynacl \
|
&& pip install pynacl \
|
||||||
&& apt-get autoremove \
|
&& apt-get autoremove \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
|
ARG backend
|
||||||
|
ARG abci_status
|
||||||
|
|
||||||
|
# When developing with Python in a docker container, we are using PYTHONBUFFERED
|
||||||
|
# to force stdin, stdout and stderr to be totally unbuffered and to capture logs/outputs
|
||||||
|
ENV PYTHONUNBUFFERED 0
|
||||||
|
|
||||||
|
ENV BIGCHAINDB_DATABASE_PORT 27017
|
||||||
|
ENV BIGCHAINDB_DATABASE_BACKEND $backend
|
||||||
|
ENV BIGCHAINDB_SERVER_BIND 0.0.0.0:9984
|
||||||
|
ENV BIGCHAINDB_WSSERVER_HOST 0.0.0.0
|
||||||
|
ENV BIGCHAINDB_WSSERVER_SCHEME ws
|
||||||
|
|
||||||
|
ENV BIGCHAINDB_WSSERVER_ADVERTISED_HOST 0.0.0.0
|
||||||
|
ENV BIGCHAINDB_WSSERVER_ADVERTISED_SCHEME ws
|
||||||
|
|
||||||
|
ENV BIGCHAINDB_TENDERMINT_PORT 26657
|
||||||
|
|
||||||
|
ENV BIGCHAINDB_CI_ABCI ${abci_status}
|
||||||
|
|
||||||
|
RUN mkdir -p /usr/src/app
|
||||||
|
COPY . /usr/src/app/
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
RUN pip install --no-cache-dir --process-dependency-links -e .[dev]
|
||||||
|
RUN bigchaindb -y configure
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user