Skip to content

Commit

Permalink
[ws-daemon] Update runc
Browse files Browse the repository at this point in the history
  • Loading branch information
csweichel authored and jankeromnes committed May 20, 2021
1 parent b3bc95e commit 9c06b54
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion components/ws-daemon/leeway.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@
# Licensed under the GNU Affero General Public License (AGPL).
# See License-AGPL.txt in the project root for license information.

FROM alpine:3.13 as dl
WORKDIR /dl
RUN apk add --no-cache curl \
&& curl -OL https://github.com/opencontainers/runc/releases/download/v1.0.0-rc95/runc.amd64 \
&& chmod +x runc.amd64

FROM alpine:3.13

RUN apk upgrade \
&& rm -rf /var/cache/apk/*

## Installing coreutils is super important here as otherwise the loopback device creation fails!
RUN apk add --no-cache git bash openssh-client lz4 e2fsprogs coreutils tar runc strace
RUN apk add --no-cache git bash openssh-client lz4 e2fsprogs coreutils tar strace
COPY --from=dl /dl/runc.amd64 /usr/bin/runc

# Add gitpod user for operations (e.g. checkout because of the post-checkout hook!)
RUN addgroup -g 33333 gitpod \
Expand Down

0 comments on commit 9c06b54

Please sign in to comment.