Skip to content

Commit

Permalink
Merge pull request #92 from speakeasy-api/fix/libssl1
Browse files Browse the repository at this point in the history
fix: install libssl1 for .NET5 compilation
  • Loading branch information
2ynn authored Mar 4, 2024
2 parents c8bb050 + 16a0dad commit a000158
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Build
FROM golang:1.21-alpine as builder
FROM golang:1.21-alpine3.18 as builder

WORKDIR /app

Expand All @@ -15,10 +15,10 @@ COPY pkg/ ./pkg/
RUN go build -o /action

## Deploy
FROM golang:1.21-alpine
FROM golang:1.21-alpine3.18

RUN apk update
RUN apk add git bash curl
RUN apk add git

### Install Node
RUN apk add --update --no-cache nodejs npm
Expand All @@ -32,14 +32,14 @@ RUN apk add --update --no-cache openjdk11 gradle
### Install Ruby
RUN apk add --update --no-cache build-base ruby ruby-bundler ruby-dev


### Install .NET 6.0
ENV DOTNET_ROOT=/usr/lib/dotnet
RUN apk add --update --no-cache dotnet6-sdk

# Install .NET 5.0
RUN apk add --update --no-cache curl bash openssl1.1-compat
RUN curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -Channel 5.0 -InstallDir ${DOTNET_ROOT}
RUN ${DOTNET_ROOT}/dotnet --list-sdks
RUN dotnet --list-sdks

### Install PHP and Composer
#### Source: https://github.com/geshan/docker-php-composer-alpine/blob/master/Dockerfile
Expand Down

0 comments on commit a000158

Please sign in to comment.