forked from jessfraz/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jess Frazelle <[email protected]>
- Loading branch information
Showing
27 changed files
with
47 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
# --name gimp \ | ||
# jess/gimp | ||
# | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# | ||
|
||
# Base docker image | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
# Install all the things | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
# | ||
|
||
# Base docker image | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
# Install Gparted and its dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# | ||
|
||
# Base docker image | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
# Install all the things | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# --name lynx \ | ||
# jess/lynx github.com/jessfraz | ||
# | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
# run | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
ENV LANG=en_US.UTF-8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
# --name notify-osd \ | ||
# jess/notify-osd | ||
|
||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
# --link mpd:mpd \ | ||
# jess/pms | ||
# | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,24 +10,27 @@ | |
# | ||
|
||
# Base docker image | ||
FROM debian:jessie-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
# Install Rstudio deps | ||
RUN apt-get update && apt-get install -y \ | ||
ca-certificates \ | ||
curl \ | ||
fcitx-frontend-qt5 \ | ||
fcitx-modules \ | ||
fcitx-module-dbus \ | ||
libasound2 \ | ||
libclang-dev \ | ||
libedit2 \ | ||
libgl1-mesa-dri \ | ||
libgl1-mesa-glx \ | ||
libgstreamer0.10-0 \ | ||
libgstreamer-plugins-base0.10-0 \ | ||
libgstreamer1.0-0 \ | ||
libgstreamer-plugins-base1.0-0 \ | ||
libjpeg-dev \ | ||
libjpeg62-turbo \ | ||
libjpeg62-turbo-dev \ | ||
libpresage1 \ | ||
libpresage1v5 \ | ||
libpresage-data \ | ||
libqt5core5a \ | ||
libqt5dbus5 \ | ||
|
@@ -36,9 +39,12 @@ RUN apt-get update && apt-get install -y \ | |
libqt5printsupport5 \ | ||
libqt5webkit5 \ | ||
libqt5widgets5 \ | ||
libnss3 \ | ||
libtiff5 \ | ||
libxcomposite1 \ | ||
libxcursor1 \ | ||
libxslt1.1 \ | ||
libxtst6 \ | ||
littler \ | ||
locales \ | ||
r-base \ | ||
|
@@ -54,25 +60,18 @@ RUN apt-get update && apt-get install -y \ | |
ENV RSTUDIO_VERSION 1.2.1335 | ||
|
||
# Download the source | ||
RUN buildDeps=' \ | ||
ca-certificates \ | ||
curl \ | ||
' \ | ||
&& set -x \ | ||
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& curl -sSL "https://download1.rstudio.org/desktop/trusty/amd64/rstudio-${RSTUDIO_VERSION}-amd64.deb" -o /tmp/rstudio-amd64.deb \ | ||
RUN curl -sSL "https://download1.rstudio.org/desktop/bionic/amd64/rstudio-${RSTUDIO_VERSION}-amd64.deb" -o /tmp/rstudio-amd64.deb \ | ||
&& dpkg -i /tmp/rstudio-amd64.deb \ | ||
&& rm -rf /tmp/*.deb \ | ||
&& apt-get purge -y --auto-remove $buildDeps \ | ||
&& ln -f -s /usr/lib/rstudio/bin/rstudio /usr/bin/rstudio | ||
|
||
|
||
ENV LC_ALL en_US.UTF-8 | ||
ENV LANG en_US.UTF-8 | ||
|
||
# Set default CRAN repo | ||
RUN echo 'options(repos = c(CRAN = "https://cran.rstudio.com/"), download.file.method = "libcurl")' >> /etc/R/Rprofile.site \ | ||
RUN mkdir -p /etc/R \ | ||
&& echo 'options(repos = c(CRAN = "https://cran.rstudio.com/"), download.file.method = "libcurl")' >> /etc/R/Rprofile.site \ | ||
&& echo 'source("/etc/R/Rprofile.site")' >> /etc/littler.r \ | ||
&& ln -s /usr/share/doc/littler/examples/install.r /usr/local/bin/install.r \ | ||
&& ln -s /usr/share/doc/littler/examples/install2.r /usr/local/bin/install2.r \ | ||
|
@@ -82,5 +81,13 @@ RUN echo 'options(repos = c(CRAN = "https://cran.rstudio.com/"), download.file.m | |
&& echo '"\e[5~": history-search-backward' >> /etc/inputrc \ | ||
&& echo '"\e[6~": history-search-backward' >> /etc/inputrc | ||
|
||
ENV HOME /home/user | ||
RUN useradd --create-home --home-dir $HOME user \ | ||
&& chown -R user:user $HOME | ||
|
||
WORKDIR $HOME | ||
|
||
USER user | ||
|
||
# Autorun Rstudio | ||
ENTRYPOINT [ "rstudio" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
|
||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
# Be aware that by default the LDAP port is accessible from anywhere if the \ | ||
# host firewall is unconfigured. | ||
# | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && LC_ALL=C DEBIAN_FRONTEND=noninteractive \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
# (see: https://stackoverflow.com/questions/28392949/running-chromium-inside-docker-gtk-cannot-open-display-0) | ||
# | ||
|
||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Christian Koep <[email protected]>" | ||
|
||
RUN apt-get update && apt-get -y install \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:buster-slim | ||
FROM debian:bullseye-slim | ||
LABEL maintainer "Jessie Frazelle <[email protected]>" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
|