mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
chore: finaly remove dockerfile
This commit is contained in:
parent
1088426811
commit
b43c3fe0c9
@ -1,13 +0,0 @@
|
||||
FROM archlinux:base-devel
|
||||
|
||||
RUN pacman -Syu --noconfirm --noprogressbar --quiet \
|
||||
devtools git pacman-contrib \
|
||||
go git rsync lsb-release && \
|
||||
paccache -r -k 0 && \
|
||||
pacman -Rscn --noconfirm --noprogressbar pacman-contrib && \
|
||||
useradd -m -s /bin/bash -u 1000 build && \
|
||||
echo "build ALL=NOPASSWD: ALL" >> /etc/sudoers && \
|
||||
chown -R build:build /home/build
|
||||
|
||||
USER build
|
||||
CMD ["/bin/bash"]
|
@ -1,23 +0,0 @@
|
||||
FROM debian:11
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive \
|
||||
TERM=xterm
|
||||
|
||||
# hadolint ignore=DL3008
|
||||
RUN echo 'deb http://deb.debian.org/debian bullseye-backports main contrib non-free' >> /etc/apt/sources.list && \
|
||||
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 && \
|
||||
apt-get -qq -y --no-install-recommends install \
|
||||
golang-1.19-go -t bullseye-backports && \
|
||||
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/* && \
|
||||
ln -s /usr/lib/go-1.19/bin/go /usr/bin/go && \
|
||||
useradd -m -s /bin/bash -u 1000 build && \
|
||||
chown -R build:build /home/build
|
||||
|
||||
USER build
|
||||
CMD ["/bin/bash"]
|
@ -1,19 +0,0 @@
|
||||
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"]
|
Loading…
Reference in New Issue
Block a user