diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-02-24 09:36:05 -0600 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-02-24 09:36:05 -0600 |
| commit | ed4497a1900eb82c14a000df68f9ce04738e6db3 (patch) | |
| tree | c89ecc43eea09dba6e7223c23350f75d0cc886a8 | |
| parent | 74b81fba3290a5fd17abdca7a08195bcd01ebe80 (diff) | |
| download | slskd-ed4497a1900eb82c14a000df68f9ce04738e6db3.tar.gz | |
use ubuntu for runtime
| -rw-r--r-- | Dockerfile | 46 |
1 files changed, 23 insertions, 23 deletions
@@ -39,7 +39,7 @@ RUN bash ./bin/publish --no-prebuild --platform $TARGETPLATFORM --version $VERSI # -FROM alpine:3.13 AS slskd +FROM ubuntu AS slskd ARG TARGETPLATFORM ARG VERSION=0.0.1.65534-local @@ -47,28 +47,28 @@ LABEL org.opencontainers.image.source=https://github.com/slskd/slskd LABEL org.opencontainers.image.licsense=AGPL-3.0 LABEL org.opencontainers.image.version=${VERSION} -# the following is a 1:1 copy of the .NET 5 runtime-deps dockerfile, which does not yet support alpine/armv7 -# review this in the future to determine if we can return to using mcr.microsoft.com/dotnet/runtime-deps:5.0-alpine as the base -# https://github.com/dotnet/dotnet-docker/blob/56e04001eb08a0399c8887a517f2dc9a81dcdf04/src/runtime-deps/5.0/alpine3.13/amd64/Dockerfile -RUN apk add --no-cache \ - ca-certificates \ - \ - # .NET Core dependencies - krb5-libs \ - libgcc \ - libintl \ - libssl1.1 \ - libstdc++ \ - zlib - -ENV \ - # Configure web servers to bind to port 80 when present - ASPNETCORE_URLS=http://+:80 \ - # Enable detection of running in a container - DOTNET_RUNNING_IN_CONTAINER=true \ - # Set the invariant mode since icu_libs isn't included (see https://github.com/dotnet/announcements/issues/20) - DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true -# end runtime-deps +# # the following is a 1:1 copy of the .NET 5 runtime-deps dockerfile, which does not yet support alpine/armv7 +# # review this in the future to determine if we can return to using mcr.microsoft.com/dotnet/runtime-deps:5.0-alpine as the base +# # https://github.com/dotnet/dotnet-docker/blob/56e04001eb08a0399c8887a517f2dc9a81dcdf04/src/runtime-deps/5.0/alpine3.13/amd64/Dockerfile +# RUN apk add --no-cache \ +# ca-certificates \ +# \ +# # .NET Core dependencies +# krb5-libs \ +# libgcc \ +# libintl \ +# libssl1.1 \ +# libstdc++ \ +# zlib + +# ENV \ +# # Configure web servers to bind to port 80 when present +# ASPNETCORE_URLS=http://+:80 \ +# # Enable detection of running in a container +# DOTNET_RUNNING_IN_CONTAINER=true \ +# # Set the invariant mode since icu_libs isn't included (see https://github.com/dotnet/announcements/issues/20) +# DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true +# # end runtime-deps WORKDIR /slskd COPY --from=publish /slskd/dist/${TARGETPLATFORM} . |
