clean cache
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tobias Trabelsi 2022-09-04 23:29:28 +02:00
parent 8d987799a0
commit 51ff54a30a
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E

View File

@ -20,11 +20,14 @@ RUN set -eux; \
chmod +x /usr/local/bin/bw; \ chmod +x /usr/local/bin/bw; \
apt-get update; \ apt-get update; \
apt-get install -y --no-install-recommends python3 python3-pip; \ apt-get install -y --no-install-recommends python3 python3-pip; \
pip install -r requirements.txt apt-get clean;
COPY --chown=bw-operator:bw-operator bitwarden-crd-operator.py /home/bw-operator/bitwarden-crd-operator.py COPY --chown=bw-operator:bw-operator bitwarden-crd-operator.py /home/bw-operator/bitwarden-crd-operator.py
USER bw-operator USER bw-operator
RUN set -eux; \
pip install -r requirements.txt
ENTRYPOINT [ "/home/bw-operator/bitwarden-crd-operator.py" ] ENTRYPOINT [ "/home/bw-operator/bitwarden-crd-operator.py" ]
CMD [ "--help" ] CMD [ "--help" ]