Added MinIO
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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
2
dotnet/entrypoint.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
dotnet $@
|
||||
@@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
dotnet $@
|
||||
Reference in New Issue
Block a user