mirror of
https://github.com/bitwarden/server.git
synced 2025-06-19 02:23:48 -05:00
fix gosu download
This commit is contained in:
parent
3391ede525
commit
82a001a899
@ -59,8 +59,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
|
|||||||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN apk add gosu \
|
RUN apk add gosu curl \
|
||||||
curl \
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Copy app from the build stage
|
# Copy app from the build stage
|
||||||
|
@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
|
|||||||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN apk add gosu \
|
RUN apk add curl \
|
||||||
curl \
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Copy app from the build stage
|
# Copy app from the build stage
|
||||||
|
@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
|
|||||||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN apk add gosu \
|
RUN apk add curl \
|
||||||
curl \
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Copy app from the build stage
|
# Copy app from the build stage
|
||||||
|
@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
|
|||||||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN apk add gosu \
|
RUN apk add curl \
|
||||||
curl \
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Copy app from the build stage
|
# Copy app from the build stage
|
||||||
|
@ -49,8 +49,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
|
|||||||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN apk add gosu \
|
RUN apk add curl \
|
||||||
curl \
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Copy app from the build stage
|
# Copy app from the build stage
|
||||||
|
@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
|
|||||||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN apk add gosu \
|
RUN apk add curl \
|
||||||
curl \
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Copy app from the build stage
|
# Copy app from the build stage
|
||||||
|
@ -50,8 +50,8 @@ ENV SSL_CERT_DIR=/etc/bitwarden/ca-certificates
|
|||||||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
RUN apk add gosu \
|
RUN apk add curl \
|
||||||
curl \
|
&& apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community gosu \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
# Copy app from the build stage
|
# Copy app from the build stage
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
###############################################
|
###############################################
|
||||||
# Build stage #
|
# 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
|
# Docker buildx supplies the value for this arg
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user