gitpod/components/supervisor/leeway.Dockerfile
2021-04-22 14:20:12 +02:00

23 lines
882 B
Docker

# Copyright (c) 2020 Gitpod GmbH. All rights reserved.
# Licensed under the GNU Affero General Public License (AGPL).
# See License-AGPL.txt in the project root for license information.
FROM scratch
# BEWARE: This must be the first layer in the image, s.t. that blobserve
# can serve the IDE host. Even moving WORKDIR before this line
# would break things.
COPY components-supervisor-frontend--app/node_modules/@gitpod/supervisor-frontend/dist/ /.supervisor/frontend/
WORKDIR "/.supervisor"
COPY components-supervisor--app/supervisor \
supervisor-config.json \
components-workspacekit--app/workspacekit \
components-workspacekit--fuse-overlayfs/fuse-overlayfs \
./
WORKDIR "/.supervisor/dropbear"
COPY components-supervisor--dropbear/dropbear \
components-supervisor--dropbear/dropbearkey \
./
ENTRYPOINT ["/.supervisor/supervisor"]