Added MinIO

This commit is contained in:
2023-04-27 23:18:14 -07:00
parent 0e2ef14a5a
commit a02e1dc69b
15 changed files with 212 additions and 101 deletions

View File

@@ -1,9 +1,9 @@
FROM mcr.microsoft.com/dotnet/sdk:7.0
ARG VERSION=6.0.401
FROM mcr.microsoft.com/dotnet/sdk:$VERSION
# https://github.com/dotnet-script/dotnet-script
#RUN dotnet tool install dotnet-script --tool-path /usr/bin
RUN apt update
RUN apt install curl -y
COPY ./startup.sh /startup.sh
RUN chmod +x /startup.sh
ENTRYPOINT [ "/startup.sh" ]
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -1,11 +1,11 @@
name: "dotnet"
description: "Runs the specified dotnet command."
name: dotnet
description: "Run a dotnet command."
inputs:
command:
description: "The command to run."
description: "Dotnet command to run."
required: false
runs:
using: docker
image: Dockerfile
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.command }}
- ${{ inputs.command }}

2
dotnet/entrypoint.sh Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
dotnet $@

View File

@@ -1,2 +0,0 @@
#!/bin/bash
dotnet $@