Skip to content

Commit c109573

Browse files
author
Christian Weichel
committed
[dev-image] Add libseccomp 2.5.1 for building workspacekit
1 parent e641afa commit c109573

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-supervisor-execve-ring3.25
1+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-workspacekit.3
22
workspaceLocation: gitpod/gitpod-ws.theia-workspace
33
checkoutLocation: gitpod
44
ports:

.werft/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pod:
3030
- name: MYSQL_TCP_PORT
3131
value: 23306
3232
- name: build
33-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-supervisor-execve-ring3.25
33+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-workspacekit.3
3434
workingDir: /workspace
3535
imagePullPolicy: Always
3636
volumeMounts:

.werft/wipe-devstaging.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pod:
1414
secretName: gcp-sa-gitpod-dev-deployer
1515
containers:
1616
- name: wipe-devstaging
17-
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-supervisor-execve-ring3.25
17+
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:cw-workspacekit.3
1818
workingDir: /workspace
1919
imagePullPolicy: Always
2020
volumeMounts:

dev/image/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ RUN curl -fsSL https://packagecloud.io/datawireio/telepresence/gpgkey | apt-key
8787
RUN curl -L -o /usr/bin/toxiproxy https://github.com/Shopify/toxiproxy/releases/download/v2.1.4/toxiproxy-cli-linux-amd64 \
8888
&& chmod +x /usr/bin/toxiproxy
8989

90+
### libseccomp > 2.5.0
91+
RUN apt-get update && apt-get install -yq gperf && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* \
92+
&& cd $(mktemp -d) \
93+
&& curl -L https://github.com/seccomp/libseccomp/releases/download/v2.5.1/libseccomp-2.5.1.tar.gz | tar xz \
94+
&& cd libseccomp-2.5.1 && ./configure && make && make install
95+
9096
USER gitpod
9197

9298
# Fix node version we develop against

0 commit comments

Comments
 (0)