Skip to content

Commit 52c6a0c

Browse files
jeanp413mustard-mh
authored andcommitted
Build bionic-arm32v7 image
1 parent 0d3f1c9 commit 52c6a0c

File tree

2 files changed

+45
-1
lines changed

2 files changed

+45
-1
lines changed

.github/workflows/build.yml

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ on:
88
type: boolean
99
tag:
1010
description: "Github release tag"
11+
dockerRelease:
12+
description: "Create Dockerhub Releasee"
13+
type: boolean
1114

1215
jobs:
1316
generate_toolchain:
1417
strategy:
15-
fail-fast: false
18+
fail-fast: true
1619
matrix:
1720
arch: [focal-x64, bionic-arm64, bionic-armhf, centos7-devtoolset8-x64, centos7-devtoolset8-arm64]
1821
include:
@@ -76,3 +79,41 @@ jobs:
7679
repository: ${{ github.repository_owner }}/vscode-linux-build-agent
7780
tag_name: ${{ inputs.tag }}
7881
files: upload/*
82+
83+
linux:
84+
runs-on: ubuntu-latest
85+
strategy:
86+
fail-fast: false
87+
matrix:
88+
arch: [bionic-arm32v7, centos7-devtoolset8-x64, centos7-devtoolset8-arm64]
89+
include:
90+
- arch: centos7-devtoolset8-arm64
91+
qemu: true
92+
- arch: bionic-arm32v7
93+
qemu: true
94+
95+
steps:
96+
- uses: actions/checkout@v3
97+
98+
- name: Set up QEMU
99+
uses: docker/setup-qemu-action@v2
100+
if: matrix.qemu == true
101+
102+
- name: Set up Docker Buildx
103+
uses: docker/setup-buildx-action@v2
104+
with:
105+
install: true
106+
107+
- name: Login to DockerHub
108+
uses: docker/login-action@v2
109+
with:
110+
username: ${{ secrets.DOCKERHUB_USERNAME }}
111+
password: ${{ secrets.DOCKERHUB_TOKEN }}
112+
113+
- name: Build and push
114+
uses: docker/build-push-action@v4
115+
with:
116+
context: ${{ matrix.arch }}
117+
file: ${{ matrix.arch }}/Dockerfile
118+
tags: gitpod/openvscode-server-linux-build-agent:${{ matrix.arch }}
119+
push: ${{ inputs.dockerRelease == true }}

archived/bionic-x64-v1/Dockerfile_Unused

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ FROM ${REPO}:${TAG}
44

55
ARG DEBIAN_FRONTEND=noninteractive
66

7+
# https://github.com/moby/moby/issues/27988#issuecomment-462809153
8+
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
9+
710
# Github uses uid 1001 and gid 121
811
RUN groupadd --gid 121 builduser \
912
&& useradd --uid 1001 --gid builduser --shell /bin/bash --create-home builduser \

0 commit comments

Comments
 (0)