Bonjour
J'ai le message suivant "ERROR: Unable to lock database: Permission denied" lors de ma construction d'un build
la commande openssh ne passe pas ?
Une idée ?
Merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 ERROR: Unable to lock database: Permission denied ERROR: Failed to open apk database: Permission denied The command '/bin/sh -c apk add --no-cache openssh && sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config && echo "root:root" | chpasswd' returned a non-zero code: 99 le docker FROM camunda/camunda-bpm-platform:7.10.0 RUN rm -rf /camunda/webapps/camunda-invoice /camunda/webapps/camunda #ADD camunda-webapp.war /camunda/webapps/camunda.war ENTRYPOINT ["/entrypoint.sh"] EXPOSE 22 COPY rootfs / RUN apk add --no-cache openssh \ && sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config \ && echo "root:root" | chpasswd le entrypoint.sh #!/bin/bash # generate host keys if not present ssh-keygen -A # do not detach (-D), log to stderr (-e), passthrough other arguments exec /usr/sbin/sshd -D -e "$@" exec /camunda/camunda.sh
Partager