Skip to content

Commit ef17f5d

Browse files
Fix supervisor openssh build with new Leeway version
1 parent bf4115a commit ef17f5d

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

components/supervisor/BUILD.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ packages:
2727
deps:
2828
- :app
2929
- components/supervisor/frontend:app
30-
- components/supervisor/openssh:app
30+
- components/supervisor/openssh:docker-build
3131
- components/gitpod-cli:app
3232
argdeps:
3333
- imageRepoBase

components/supervisor/leeway.Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ COPY components-supervisor--app/supervisor \
2828
./
2929

3030
WORKDIR "/.supervisor/ssh"
31-
COPY components-supervisor-openssh--app/usr/sbin/sshd .
32-
COPY components-supervisor-openssh--app/usr/bin/ssh-keygen .
33-
COPY components-supervisor-openssh--app/usr/libexec/sshd-session .
31+
COPY components-supervisor-openssh--docker-build/content/content/usr/sbin/sshd .
32+
COPY components-supervisor-openssh--docker-build/content/content/usr/bin/ssh-keygen .
33+
COPY components-supervisor-openssh--docker-build/content/content/usr/libexec/sshd-session .
3434

3535
COPY --from=docker_cli_builder /gp-docker/docker/docker /.supervisor/gitpod-docker-cli
3636

components/supervisor/openssh/BUILD.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,4 @@
11
packages:
2-
- name: app
3-
type: generic
4-
deps:
5-
- :docker-build
6-
config:
7-
commands:
8-
- ["sh", "-c","TARFILE=$(cat ./components-supervisor-openssh--docker-build/manifest.json | jq -r '.[].Layers[]') && tar xvf ./components-supervisor-openssh--docker-build/$TARFILE"]
9-
- ["rm", "-rf", "components-supervisor-openssh--docker-build"]
102
- name: docker-build
113
type: docker
124
config:

0 commit comments

Comments
 (0)