Cornelius A. Ludmann b1024a271c [gitpod-k3s] Update k3s to v1.20.0+k3s2 and Gitpod v0.7.0
/werft with-installer
/werft no-preview
2021-02-05 15:47:46 +01:00

22 lines
650 B
Docker

# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
# Licensed under the MIT License. See License-MIT.txt in the project root for license information.
FROM rancher/k3s:v1.20.0-k3s2
ADD https://github.com/krallin/tini/releases/download/v0.19.0/tini-static /tini
RUN chmod +x /tini
VOLUME /var/gitlab/gitaly
VOLUME /var/gitlab/minio
VOLUME /var/gitlab/postgresql
VOLUME /var/gitlab/redis
VOLUME /var/gitlab/secrets-backup
COPY gitlab-helm-installer.yaml /var/lib/rancher/k3s/server/manifests/
COPY persistent-volumes.yaml /var/lib/rancher/k3s/server/manifests/
COPY entrypoint.sh /entrypoint
ENTRYPOINT [ "/tini", "-g", "--", "/entrypoint" ]