forked from Job79/devcontainer
Compare commits
4 Commits
6acfe407ba
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
efe72f205d | ||
|
|
28843cdb89 | ||
|
|
7adaee8f06 | ||
|
|
4608cea0de |
@@ -1,5 +1,6 @@
|
||||
name: Build container
|
||||
on:
|
||||
workflow_dispatch: # This makes the workflow manually triggered
|
||||
push:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
@@ -8,6 +9,8 @@ on:
|
||||
- "containers/rust/**"
|
||||
- "containers/php/**"
|
||||
- ".gitea/workflows/fedora.yaml"
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
jobs:
|
||||
fedora-build:
|
||||
@@ -34,15 +37,15 @@ jobs:
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
# - name: Build and push Rust container
|
||||
# uses: docker/build-push-action@v5
|
||||
# with:
|
||||
# context: ./containers/rust
|
||||
# file: ./containers/rust/Containerfile
|
||||
# push: true
|
||||
# tags: git.plabble.org/maurice/rust:${{ github.ref_name }}
|
||||
# build-args: TAG=${{ github.ref_name }}
|
||||
# outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
- name: Build and push Rust container
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./containers/rust
|
||||
file: ./containers/rust/Containerfile
|
||||
push: true
|
||||
tags: git.plabble.org/maurice/rust:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
- name: Build and push PHP container
|
||||
uses: docker/build-push-action@v5
|
||||
@@ -54,12 +57,12 @@ jobs:
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
# - name: Build and push C# container
|
||||
# uses: docker/build-push-action@v5
|
||||
# with:
|
||||
# context: ./containers/dotnet
|
||||
# file: ./containers/dotnet/Containerfile
|
||||
# push: true
|
||||
# tags: git.plabble.org/maurice/dotnet:${{ github.ref_name }}
|
||||
# build-args: TAG=${{ github.ref_name }}
|
||||
# outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
- name: Build and push C# container
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./containers/dotnet
|
||||
file: ./containers/dotnet/Containerfile
|
||||
push: true
|
||||
tags: git.plabble.org/maurice/dotnet:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
@@ -37,12 +37,12 @@ jobs:
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
|
||||
- name: Build and push Flutter container
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: ./containers/flutter
|
||||
file: ./containers/flutter/Containerfile
|
||||
push: true
|
||||
tags: git.plabble.org/maurice/flutter:${{ github.ref_name }}
|
||||
build-args: TAG=${{ github.ref_name }}
|
||||
outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
# - name: Build and push Flutter container
|
||||
# uses: docker/build-push-action@v5
|
||||
# with:
|
||||
# context: ./containers/flutter
|
||||
# file: ./containers/flutter/Containerfile
|
||||
# push: true
|
||||
# tags: git.plabble.org/maurice/flutter:${{ github.ref_name }}
|
||||
# build-args: TAG=${{ github.ref_name }}
|
||||
# outputs: type=image,oci-mediatypes=true,compression=zstd,compression-level=3,force-compression=true
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM git.plabble.org/maurice/fedora:main
|
||||
|
||||
USER root
|
||||
RUN dnf -y install dotnet-sdk-9.0
|
||||
RUN dnf -y install dotnet-sdk-9.0 dotnet-sdk-10.0
|
||||
|
||||
COPY install-roslyn.sh /tmp/install-roslyn.sh
|
||||
RUN chmod +x /tmp/install-roslyn.sh && /tmp/install-roslyn.sh
|
||||
|
||||
@@ -2,7 +2,6 @@ FROM quay.io/fedora/fedora:43
|
||||
|
||||
# === install system packages ===
|
||||
RUN dnf update -y && \
|
||||
dnf copr enable -y atim/lazygit && \
|
||||
dnf -y install procps ping bash-completion glibc-langpack-en \
|
||||
host-spawn dbus-launch \
|
||||
git pnpm helix zip
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
arg "-p 8080:8080"
|
||||
arg "-p 5173:5173 --network dev-php"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM git.plabble.org/maurice/fedora:main
|
||||
ARG php_version="8.4"
|
||||
ARG php_version="8.5"
|
||||
|
||||
RUN /bin/bash -c "export TERM=xterm && $(curl -fsSL https://php.new/install/linux/${php_version})"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
FROM git.plabble.org/maurice/dotnet:main
|
||||
ARG rider_version="2025.2.4"
|
||||
ARG rider_version="2025.3.0.3"
|
||||
ARG download_uri="https://download.jetbrains.com/rider/JetBrains.Rider-${rider_version}.tar.gz"
|
||||
|
||||
USER root
|
||||
|
||||
Reference in New Issue
Block a user