Skip to content

Commit

Permalink
fix: Remove unsupported openssl1.1-compat and .NET 5 (for Unity) from…
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Jan 9, 2025
1 parent 172d3dd commit a29da0a
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ RUN go build -o /action
FROM golang:1.23-alpine3.20

RUN apk update
RUN apk add git

### Install common tools
RUN apk add --update --no-cache bash curl git

### Install Node / NPM
RUN apk add --update --no-cache nodejs npm
Expand All @@ -36,12 +38,6 @@ RUN apk add --update --no-cache build-base ruby ruby-bundler ruby-dev
ENV DOTNET_ROOT=/usr/lib/dotnet
RUN apk add --update --no-cache dotnet6-sdk

### Install .NET5.0
RUN apk add --update --no-cache curl bash
# openssl1.1-compat is gradually getting removed from package managers..
RUN apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing openssl1.1-compat
RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -Channel 5.0 -InstallDir ${DOTNET_ROOT}

### Install .NET8.0
RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -Channel 8.0 -InstallDir ${DOTNET_ROOT}
RUN dotnet --list-sdks
Expand Down

0 comments on commit a29da0a

Please sign in to comment.