mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
18 lines
892 B
Docker
18 lines
892 B
Docker
# Copyright (c) 2021 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 alpine:3.16 as base_builder
|
|
RUN mkdir /ide-desktop-plugins
|
|
|
|
# for debugging
|
|
# FROM alpine:3.16
|
|
FROM scratch
|
|
ARG JETBRAINS_BACKEND_QUALIFIER
|
|
# ensures right permissions for /ide-desktop-plugins
|
|
COPY --from=base_builder --chown=33333:33333 /ide-desktop-plugins/ /ide-desktop-plugins/
|
|
COPY --chown=33333:33333 components-ide-jetbrains-backend-plugin--plugin-${JETBRAINS_BACKEND_QUALIFIER}/build/gitpod-remote /ide-desktop-plugins/gitpod-remote-${JETBRAINS_BACKEND_QUALIFIER}/
|
|
|
|
# added for backwards compatibility, can be removed in the future
|
|
COPY --chown=33333:33333 components-ide-jetbrains-backend-plugin--plugin-${JETBRAINS_BACKEND_QUALIFIER}/build/gitpod-remote /ide-desktop-plugins/gitpod-remote/
|