mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
Move steps around use --parents debug Remove `ls` command Add marketplace URL to configmap Update code commit Remove `vscode-webview.net` Add another copy Add the manifest to the repo Remove unused code Fix URL replacement Update code commit Update code commit Add CORS header
26 lines
1.3 KiB
Docker
26 lines
1.3 KiB
Docker
# Copyright (c) 2022 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 compress
|
|
|
|
RUN apk add brotli gzip
|
|
|
|
COPY components-local-app--app/components-local-app--app-linux-amd64/local-app /bin/gitpod-local-companion-linux-amd64
|
|
COPY components-local-app--app/components-local-app--app-darwin-amd64/local-app /bin/gitpod-local-companion-darwin-amd64
|
|
COPY components-local-app--app/components-local-app--app-windows-amd64/local-app.exe /bin/gitpod-local-companion-windows-amd64.exe
|
|
COPY components-local-app--app/components-local-app--app-linux-arm64/local-app /bin/gitpod-local-companion-linux-arm64
|
|
COPY components-local-app--app/components-local-app--app-darwin-arm64/local-app /bin/gitpod-local-companion-darwin-arm64
|
|
COPY components-local-app--app/components-local-app--app-windows-386/local-app.exe /bin/gitpod-local-companion-windows-arm64.exe
|
|
COPY components-local-app--app/components-local-app--app-windows-386/local-app.exe /bin/gitpod-local-companion-windows-386.exe
|
|
|
|
RUN for FILE in `ls /bin/gitpod-local-companion*`;do \
|
|
gzip -v -f -9 -k "$FILE"; \
|
|
done
|
|
|
|
FROM caddy/caddy:2.4.6-alpine
|
|
|
|
COPY conf/Caddyfile /etc/caddy/Caddyfile
|
|
COPY static /www/
|
|
COPY --from=compress /bin /www/static/bin
|