Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Update OpenGCS, Alpine, kernel and runc #45

Merged
merged 4 commits into from
Apr 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lcow.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
kernel:
# For now use an older kernel. See https://github.com/linuxkit/linuxkit/issues/3120
image: linuxkit/kernel:4.19.27
image: linuxkit/kernel:4.19.34
cmdline: "console=ttyS0"
tar: none
init:
- linuxkit/init-lcow:15f50743b68117f4db1158c89530d47affbbd07b
- linuxkit/runc:606971451ea29b4238029804ca638f9f85caf5af
- linuxkit/init-lcow:e622118d49da5e1bea01e7cdf414c491d8b7c015
- linuxkit/runc:v0.7
files:
- path: etc/linuxkit.yml
metadata: yaml
Expand Down
6 changes: 3 additions & 3 deletions pkg/init-lcow/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM linuxkit/alpine:518c2ed0f398c5508969ac5e033607201fb419ed AS mirror
FROM linuxkit/alpine:86cd4f51b49fb9a078b50201d892a3c7973d48ec AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \
alpine-baselayout \
Expand All @@ -7,9 +7,9 @@ RUN apk add --no-cache --initdb -p /out \
musl
RUN rm -rf /out/etc/apk /out/lib/apk /out/var/cache

FROM linuxkit/alpine:518c2ed0f398c5508969ac5e033607201fb419ed AS build
FROM linuxkit/alpine:86cd4f51b49fb9a078b50201d892a3c7973d48ec AS build
ENV OPENGCS_REPO=https://github.com/Microsoft/opengcs
ENV OPENGCS_COMMIT=92ea373dcfec072a7e9a6153bbeb2405eee9792a
ENV OPENGCS_COMMIT=fefd0ad73f6bfa33b8cce597be303e134fddc408
RUN apk add --no-cache build-base curl git go linux-headers musl-dev
ENV GOPATH=/go PATH=$PATH:/go/bin
RUN git clone $OPENGCS_REPO /go/src/github.com/Microsoft/opengcs && \
Expand Down