This commit is contained in:
parent
8d987799a0
commit
51ff54a30a
@ -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" ]
|
Loading…
Reference in New Issue
Block a user