Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement debian package manager tweaks #521

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
5 changes: 3 additions & 2 deletions atom/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ RUN apt-get update && apt-get install -y \
libxtst6 \
libx11-xcb-dev \
xdg-utils \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Autorun atom
ENTRYPOINT [ "atom", "--foreground" ]
8 changes: 3 additions & 5 deletions cura/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@ RUN apt-get update && apt-get install -y \
libgfortran4 \
libssl-dev \
wget \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends

RUN wget https://gitlab.com/lulzbot3d/cura-le/cura-lulzbot/uploads/0676b39295476b93181fa8a512f34265/cura-lulzbot_3.2.21_amd64.deb -O /tmp/cura.deb \
&& apt update \
&& dpkg -i /tmp/cura.deb || true \
&& apt-get -yf install \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/cura.deb
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

CMD ["cura-lulzbot"]
5 changes: 3 additions & 2 deletions gimp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"

RUN apt-get update && apt-get install -y \
gimp \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENTRYPOINT [ "gimp" ]
5 changes: 3 additions & 2 deletions lynx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"

RUN apt-get update && apt-get install -y \
lynx \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENTRYPOINT [ "lynx" ]
5 changes: 3 additions & 2 deletions nmap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"

RUN apt-get update && apt-get install -y \
nmap \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENTRYPOINT [ "nmap" ]
10 changes: 5 additions & 5 deletions nomad/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ RUN apt-get update && apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/* \
--no-install-recommends \
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list

RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -

RUN apt-get update && apt-get install -y \
RUN apt-get install -y \
gcc \
git \
g++ \
Expand All @@ -26,8 +25,9 @@ RUN apt-get update && apt-get install -y \
python \
yarn \
zip \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENV NOMAD_VERSION v0.10.2

Expand Down
5 changes: 3 additions & 2 deletions s3cmd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ LABEL maintainer "Jessie Frazelle <[email protected]>"
RUN apt-get update && apt-get install -y \
ca-certificates \
s3cmd \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Setup s3cmd config
RUN { \
Expand Down
5 changes: 3 additions & 2 deletions skype/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ RUN echo "deb [arch=amd64] https://repo.skype.com/deb stable main" > /etc/apt/so

RUN apt-get update && apt-get -y install \
skypeforlinux \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

COPY run-skype-and-wait-for-exit /usr/local/bin

Expand Down
10 changes: 5 additions & 5 deletions slack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ RUN apt-get update && apt-get install -y \
curl \
gnupg \
locales \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends

RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
&& locale-gen en_US.utf8 \
Expand All @@ -37,13 +36,14 @@ RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
RUN curl -sSL https://packagecloud.io/slacktechnologies/slack/gpgkey | apt-key add -
RUN echo "deb https://packagecloud.io/slacktechnologies/slack/debian/ jessie main" > /etc/apt/sources.list.d/slacktechnologies_slack.list

RUN apt-get update && apt-get -y install \
RUN apt-get -y install \
libasound2 \
libgtk-3-0 \
libx11-xcb1 \
libxkbfile1 \
slack-desktop \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

ENTRYPOINT ["/usr/lib/slack/slack"]
5 changes: 3 additions & 2 deletions slapd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ RUN apt-get update && LC_ALL=C DEBIAN_FRONTEND=noninteractive \
apt-get install -y \
ldap-utils \
slapd \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
--no-install-recommends && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Just some default values for fun!
ENV LDAP_ROOTPASS=fsociety LDAP_ORGANIZATION="E CORP" LDAP_DOMAIN=mr.robot.com
Expand Down