Skip to content
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
15 changes: 15 additions & 0 deletions .github/docker/plan9port/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM ubuntu:24.04

ENV PLAN9=/opt/plan9port
ENV PATH=$PLAN9/bin:$PATH

RUN apt-get update && apt-get install -y --no-install-recommends \
git ca-certificates \
gcc libx11-dev libxt-dev libxext-dev libfontconfig1-dev \
libssl-dev pkg-config \
&& rm -rf /var/lib/apt/lists/*

RUN git clone --depth=1 https://github.com/9fans/plan9port $PLAN9 \
&& cd $PLAN9 \
&& ./INSTALL \
&& rm -rf $PLAN9/.git
25 changes: 25 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docker

on:
push:
branches: [master]
paths:
- .github/docker/**

jobs:
plan9port:
name: Build and push plan9port image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .github/docker/plan9port
push: true
tags: yarikk/rd-plan9port:latest
Loading