Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit b51bab1

Browse files
committed
Fix install script and docker dependencies
1 parent f8b16d7 commit b51bab1

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ RUN apk add --no-cache \
55
curl \
66
python3 \
77
py3-pip \
8-
jq
8+
jq \
9+
gettext \
10+
openssl
911

1012
ARG CLOUD_SDK_VERSION=351.0.0
1113
ARG HELM_VERSION=v3.6.3

setup.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ function install_gitpod() {
221221
CONTAINER_REGISTRY_BUCKET="container-registry-${CLUSTER_NAME}-${PROJECT_ID}"
222222
export CONTAINER_REGISTRY_BUCKET
223223
# the bucket must exists before installing the docker-registry.
224-
gsutil mb "gs://${CONTAINER_REGISTRY_BUCKET}"
224+
if ! gsutil acl get "gs://${CONTAINER_REGISTRY_BUCKET}" >/dev/null 2>&1;then
225+
gsutil mb "gs://${CONTAINER_REGISTRY_BUCKET}"
226+
fi
225227

226228
envsubst < "${DIR}/charts/assets/gitpod-values.yaml" | helm upgrade --install gitpod gitpod/gitpod -f -
227229
}
@@ -416,8 +418,7 @@ function main() {
416418
echo "Usage: $0 [--install|--uninstall|--auth]"
417419
;;
418420
esac
419-
420-
echo "done."
421+
echo "done"
421422
}
422423

423424
main "$@"

0 commit comments

Comments
 (0)