1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-17 17:43:51 -05:00

fix gosu download

This commit is contained in:
AJ Mabry 2025-06-17 10:06:40 -04:00
parent 3391ede525
commit 82a001a899
No known key found for this signature in database
GPG Key ID: 959B72506842FAE9
8 changed files with 15 additions and 15 deletions

View File

@ -59,8 +59,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
EXPOSE 5000
RUN apk add gosu \
curl \
RUN apk add gosu curl \
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
&& rm -rf /var/cache/apk/*
# Copy app from the build stage

View File

@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
EXPOSE 5000
RUN apk add gosu \
curl \
RUN apk add curl \
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
&& rm -rf /var/cache/apk/*
# Copy app from the build stage

View File

@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
EXPOSE 5000
RUN apk add gosu \
curl \
RUN apk add curl \
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
&& rm -rf /var/cache/apk/*
# Copy app from the build stage

View File

@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
EXPOSE 5000
RUN apk add gosu \
curl \
RUN apk add curl \
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
&& rm -rf /var/cache/apk/*
# Copy app from the build stage

View File

@ -49,8 +49,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
EXPOSE 5000
RUN apk add gosu \
curl \
RUN apk add curl \
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
&& rm -rf /var/cache/apk/*
# Copy app from the build stage

View File

@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
EXPOSE 5000
RUN apk add gosu \
curl \
RUN apk add curl \
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
&& rm -rf /var/cache/apk/*
# Copy app from the build stage

View File

@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
EXPOSE 5000
RUN apk add gosu \
curl \
RUN apk add curl \
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
&& rm -rf /var/cache/apk/*
# Copy app from the build stage

View File

@ -1,7 +1,7 @@
###############################################
# Build stage #
###############################################
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpline AS build
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
# Docker buildx supplies the value for this arg
ARG TARGETPLATFORM