Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Gitpod docker image #29

Merged
merged 1 commit into from
Jul 18, 2024
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
13 changes: 8 additions & 5 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,11 @@ jobs:
matrix:
version:
- 40
dockerfile:
- dockerfiles/devtools.dockerfile
docker:
- dockerfile: dockerfiles/devtools.dockerfile
image: ghcr.io/ultramarine-linux/ultramarine-devtools
- dockerfile: dockerfiles/gitpod.dockerfile
image: ghcr.io/ultramarine-linux/ultramarine-gitpod

steps:
- name: Checkout
Expand All @@ -178,12 +181,12 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
file: ${{ matrix.docker.dockerfile }}
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/ultramarine-linux/ultramarine-devtools:${{ matrix.version }}
ghcr.io/ultramarine-linux/ultramarine-devtools:latest
${{ matrix.docker.image }}:${{ matrix.version }}
${{ matrix.docker.image }}:latest
build-args: |
RELEASE=${{ matrix.version }}

Expand Down
9 changes: 9 additions & 0 deletions dockerfiles/gitpod.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ARG RELEASE

FROM ghcr.io/ultramarine-linux/ultramarine:${RELEASE}

RUN dnf install -y @development-tools sudo && dnf clean all

RUN useradd -l -u 33333 -G wheel -md /home/gitpod -s /bin/bash -p gitpod gitpod

USER gitpod
Loading