purge dockerfile
This commit is contained in:
@@ -11,14 +11,17 @@ metadata:
|
||||
spec:
|
||||
containers:
|
||||
# - image: localhost:31795/bitwarden_cli
|
||||
- image: gitea.tryton.geeraert.eu/pi-ux-ce/bitwarden_cli:1.0.0
|
||||
- image: gitea.tryton.geeraert.eu/pi-ux-ce/bitwarden_cli:1.0.1
|
||||
command:
|
||||
- /bin/sh
|
||||
- "-c"
|
||||
- "bw config server https://bitwarden.tryton.geeraert.eu/"
|
||||
- "export BW_key=$(bw login valvankart@orange.fr Impreza555 --raw)"
|
||||
- "sleep 3600"
|
||||
# - "apt update && apt install -y curl unzip libsecret-1-0 jq"
|
||||
# - "export VER=$(curl -H "Accept: application/vnd.github+json" https://api.github.com/repos/bitwarden/clients/releases | jq -r .[4].name | sed 's:.*v::') && curl -LO "https://github.com/bitwarden/clients/releases/download/cli-v{$VER}/bw-linux-{$VER}.zip" && unzip bw-linux-*.zip && chmod +x ./bw "
|
||||
# - "mv /bw /usr/local/bin"
|
||||
- "sleep 60m"
|
||||
# - "sleep 3600"
|
||||
volumeMounts:
|
||||
- name: scripts
|
||||
mountPath: /config
|
||||
|
||||
Reference in New Issue
Block a user