2018-02-22 07:52:21 -05:00
|
|
|
FROM microsoft/dotnet:2.0.5-runtime
|
2017-08-07 16:31:00 -04:00
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
|
openssl \
|
2018-03-27 14:55:33 -04:00
|
|
|
gosu \
|
2018-03-23 22:16:57 -04:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2017-08-07 16:31:00 -04:00
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
COPY obj/Docker/publish .
|
2018-03-27 14:55:33 -04:00
|
|
|
COPY entrypoint.sh /
|
2018-03-26 11:21:03 -04:00
|
|
|
|
|
|
|
|
RUN groupadd -g 999 bitwarden \
|
2018-03-27 14:55:33 -04:00
|
|
|
&& chmod +x /entrypoint.sh
|
2018-03-26 11:21:03 -04:00
|
|
|
|
2018-03-27 14:55:33 -04:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|