refactor(docker): Use pip modules instead of apt packages
This commit is contained in:
parent
758a535320
commit
7a5f8d4571
1 changed files with 19 additions and 16 deletions
|
@ -11,27 +11,30 @@ FROM python:3.7-bullseye AS runner
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get -yq install \
|
&& apt-get -yq install \
|
||||||
libevent-core-2.1-7 \
|
gettext \
|
||||||
gettext \
|
jq \
|
||||||
jq \
|
zip \
|
||||||
python3-aodhclient \
|
|
||||||
python3-barbicanclient \
|
|
||||||
python3-ceilometerclient \
|
|
||||||
python3-cinderclient \
|
|
||||||
python3-cloudkittyclient \
|
|
||||||
python3-designateclient \
|
|
||||||
python3-gnocchiclient \
|
|
||||||
python3-octaviaclient \
|
|
||||||
python3-osc-placement \
|
|
||||||
python3-openstackclient \
|
|
||||||
python3-pankoclient \
|
|
||||||
zip \
|
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN pip install \
|
||||||
|
aodhclient \
|
||||||
|
cinder \
|
||||||
|
gnocchiclient \
|
||||||
|
osc-placement \
|
||||||
|
panko \
|
||||||
|
python-barbicanclient \
|
||||||
|
python-ceilometerclient \
|
||||||
|
python-cloudkittyclient \
|
||||||
|
python-designateclient \
|
||||||
|
python-octaviaclient \
|
||||||
|
python-openstackclient
|
||||||
|
|
||||||
|
# libevent-core-2.1-7
|
||||||
|
|
||||||
# RUN wget https://github.com/sapcc/cyclone/releases/download/v0.1.28/cyclone \
|
# RUN wget https://github.com/sapcc/cyclone/releases/download/v0.1.28/cyclone \
|
||||||
# -O /usr/bin/cyclone \
|
# -O /usr/bin/cyclone \
|
||||||
# && chmod +x /usr/bin/cyclone
|
# && chmod +x /usr/bin/cyclone
|
||||||
|
|
||||||
COPY --from=builder /app/bin/arkisto /usr/bin/arkisto
|
COPY --from=builder /app/bin/arkisto /usr/bin/arkisto
|
||||||
|
|
||||||
CMD /bin/bash
|
CMD ["/bin/bash"]
|
||||||
|
|
Loading…
Reference in a new issue