mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 16:03:51 +01:00
20 lines
643 B
Docker
20 lines
643 B
Docker
FROM ubuntu:22.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive \
|
|
TERM=xterm
|
|
|
|
# hadolint ignore=DL3008
|
|
RUN apt-get update -y && apt-get -qq -y --no-install-recommends upgrade && \
|
|
apt-get -qq -y --no-install-recommends install \
|
|
build-essential devscripts debhelper fakeroot config-package-dev \
|
|
git lsb-release rsync golang-go && \
|
|
apt-get -qy autoremove && \
|
|
apt-get -qq --purge remove -y .\*-doc$ && \
|
|
apt-get clean && \
|
|
rm -rf /usr/share/doc /usr/share/man /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
|
|
useradd -m -s /bin/bash -u 1000 build && \
|
|
chown -R build:build /home/build
|
|
|
|
USER build
|
|
CMD ["/bin/bash"]
|