Merge "feat: Base installation independent of sources"
This commit is contained in:
commit
744128f26b
@ -14,22 +14,24 @@ LABEL skyline.build_branch=${GIT_BRANCH}\
|
||||
ENV LANG C.UTF-8
|
||||
ENV LC_ALL C.UTF-8
|
||||
|
||||
COPY ./ /skyline-apiserver/
|
||||
COPY ./container/start_service.sh /usr/local/bin/start_service.sh
|
||||
COPY ./etc/skyline.yaml.sample /etc/skyline/skyline.yaml
|
||||
COPY ./etc/gunicorn.py /etc/skyline/gunicorn.py
|
||||
|
||||
RUN apt-get update -y && apt-get install -y --no-install-recommends apt-utils \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
gcc make nginx traceroute lsof iputils-ping vim git wget curl locales-all ssl-cert \
|
||||
python3 python3-pip python3-dev python3-venv python-dev-is-python3 \
|
||||
&& mkdir -p /etc/skyline /var/log/skyline /var/lib/skyline \
|
||||
&& git init /skyline-apiserver \
|
||||
&& pip install -U ${SKYLINE_CONSOLE_PACKAGE_URL}
|
||||
|
||||
COPY ./ /skyline-apiserver/
|
||||
|
||||
RUN git init /skyline-apiserver \
|
||||
&& pip install skyline-apiserver/ -chttps://releases.openstack.org/constraints/upper/master \
|
||||
&& pip install -U ${SKYLINE_CONSOLE_PACKAGE_URL} \
|
||||
&& apt-get clean \
|
||||
&& rm -rf ~/.cache/pip
|
||||
|
||||
COPY ./etc/gunicorn.py /etc/skyline/gunicorn.py
|
||||
COPY ./etc/skyline.yaml.sample /etc/skyline/skyline.yaml
|
||||
COPY ./container/start_service.sh /usr/local/bin/start_service.sh
|
||||
|
||||
EXPOSE 443
|
||||
|
||||
CMD ["start_service.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user