Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions astra/1.8/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
FROM registry.astralinux.ru/library/astra/ubi18:1.8.1uu2
LABEL org.opencontainers.image.authors="Roman Proskin <[email protected]>"

# Fix missing locales
ENV LC_ALL="C.UTF-8" LANG="C.UTF-8"

# Skip interactive post-install scripts
ENV DEBIAN_FRONTEND=noninteractive

# Don't install recommends
RUN echo 'apt::install-recommends "false";' > /etc/apt/apt.conf.d/00recommends

# Enable extra repositories
RUN apt-get update && apt-get install -y --force-yes \
apt-transport-https \
curl \
wget \
gnupg \
ca-certificates

# Install base toolset
RUN apt-get update && apt-get install -y --force-yes \
sudo \
git \
build-essential \
cmake \
gdb \
ccache \
devscripts \
debhelper \
cdbs \
fakeroot \
equivs \
rpm \
alien \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Enable sudo without password
RUN echo '%adm ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers