mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
d2d89c1829
Bumps ubuntu from 22.04 to 23.04. --- updated-dependencies: - dependency-name: ubuntu dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
24 lines
691 B
Docker
24 lines
691 B
Docker
FROM ubuntu:23.04
|
|
|
|
LABEL maintainer="mail@sobolevn.me"
|
|
LABEL vendor="git-secret team"
|
|
|
|
ENV DEBIAN_FRONTEND='noninteractive'
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install --no-install-recommends -y \
|
|
# Required to work with https-based repos and custom signed packages:
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
# Required for our install script:
|
|
gnupg \
|
|
sudo \
|
|
wget \
|
|
# Cleaning cache:
|
|
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
|
|
&& apt-get clean -y && rm -rf /var/lib/apt/lists/* \
|
|
&& adduser --disabled-password nonroot \
|
|
&& adduser nonroot sudo \
|
|
&& echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
|
USER nonroot
|