11# Dockerfile
22#
3- # Development environment based on phusion/baseimage (Ubuntu)
3+ # Development environment
44#
55# @author Nicola Asuni <info@tecnick.com>
66# @copyright 2016-2025 Nicola Asuni - Tecnick.com LTD
@@ -14,7 +14,6 @@ ARG HUGO_VERSION="0.143.1"
1414ARG KOTLIN_VERSION="2.1.10"
1515ARG NOMAD_VERSION="1.9.5"
1616ARG VENOM_VERSION="v1.2.0"
17- LABEL com.tecnick.vendor="Tecnick.com"
1817ENV DEBIAN_FRONTEND noninteractive
1918ENV TERM linux
2019ENV HOME /root
@@ -43,17 +42,15 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
4342&& echo " name = gocd" >> /home/go/.gitconfig \
4443# Add repositories and update
4544&& apt update && apt -y dist-upgrade \
46- && apt install -y sudo curl apt-utils software-properties-common \
47- && apt-add-repository universe \
48- && apt-add-repository multiverse \
49- && curl -fsSL https://pgp .mongodb.com/ server-6 .0.asc | apt-key add - \
50- && echo "deb [ arch=amd64,arm64 ] https ://repo.mongodb.org/apt/ubuntu jammy /mongodb-org/6 .0 multiverse " | tee /etc/apt/sources.list.d/mongodb-org-6 .0.list \
45+ && apt install -y sudo curl locales apt-utils software-properties-common \
46+ && curl -fsSL https:// apt.corretto.aws/corretto.key | gpg --dearmor -o /usr/share/keyrings/corretto-keyring.gpg \
47+ && echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list \
48+ && curl -fsSL https://www .mongodb.org/static/pgp/ server-8 .0.asc | gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor \
49+ && echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] http ://repo.mongodb.org/apt/debian bookworm /mongodb-org/8 .0 main " | sudo tee /etc/apt/sources.list.d/mongodb-org-8 .0.list \
5150&& apt update \
52- # Set Locale
53- && apt install -y language-pack-en-base \
5451&& locale-gen en_US en_US.UTF-8 \
5552&& dpkg-reconfigure locales \
56- && curl -sL https://deb.nodesource.com/setup_18 .x | bash - \
53+ && curl -sL https://deb.nodesource.com/setup_22 .x | bash - \
5754# install development packages and debugging tools
5855&& apt install -y \
5956alien \
@@ -99,6 +96,10 @@ gtk-sharp2 \
9996htop \
10097imagemagick \
10198intltool \
99+ java-1.8.0-amazon-corretto-jdk \
100+ java-11-amazon-corretto-jdk \
101+ java-17-amazon-corretto-jdk \
102+ java-21-amazon-corretto-jdk \
102103jq \
103104lcov \
104105libboost-all-dev \
@@ -123,6 +124,7 @@ liblzma-dev \
123124libncurses5-dev \
124125libpng-dev \
125126libssl-dev \
127+ libtidy5deb1 \
126128libtiff5-dev \
127129libtool \
128130libxml2 \
@@ -136,27 +138,19 @@ libxslt1.1 \
136138llvm \
137139lsof \
138140make \
141+ mariadb-client \
142+ mariadb-server \
139143mawk \
140144memcached \
141145mingw-w64 \
142146mingw-w64-i686-dev \
143147mingw-w64-tools \
144148mingw-w64-x86-64-dev \
145149mongodb-org \
146- mysql-client \
147- mysql-server \
148150nano \
149151nodejs \
150152nsis \
151153nsis-pluginapi \
152- openjdk-11-jdk \
153- openjdk-11-jre \
154- openjdk-17-jdk \
155- openjdk-17-jre \
156- openjdk-21-jdk \
157- openjdk-21-jre \
158- openjdk-8-jdk \
159- openjdk-8-jre \
160154openssh-client \
161155openssh-server \
162156openssl \
@@ -197,8 +191,8 @@ pkg-config \
197191postgresql \
198192postgresql-contrib \
199193pylint \
200- python-all-dev \
201194python3-all-dev \
195+ python3-novaclient \
202196python3-pip \
203197python3-venv \
204198r-base \
@@ -212,10 +206,9 @@ ssh \
212206strace \
213207swig \
214208texlive-base \
209+ tidy \
215210time \
216211tree \
217- ubuntu-restricted-addons \
218- ubuntu-restricted-extras \
219212uidmap \
220213unzip \
221214valgrind \
@@ -229,16 +222,10 @@ zbar-tools \
229222zip \
230223zlib1g \
231224zlib1g-dev \
232- && apt install -y \
233- libwine-development \
234- wine64 \
235- wine64-development-tools \
236- winetricks \
237- && update-java-alternatives -s java-1.11.0-openjdk-amd64 \
238225&& java -version \
239226# Install extra Python dependencies
240- && pip3 install --ignore-installed --upgrade pip \
241- && pip3 install --upgrade \
227+ && pip3 install --ignore-installed --break-system-packages -- upgrade pip \
228+ && pip3 install --break-system-packages -- upgrade \
242229ansible \
243230autopep8 \
244231cffi \
@@ -256,7 +243,6 @@ pypandoc \
256243pytest \
257244pytest-benchmark \
258245pytest-cov \
259- python-novaclient \
260246pyyaml \
261247schemathesis \
262248setuptools \
@@ -286,12 +272,6 @@ js-beautify \
286272uglify-js \
287273# Install R packages
288274&& Rscript -e "install.packages(c('Rcpp', 'base', 'devtools', 'inline', 'pryr', 'renv', 'ragg', 'roxygen2', 'testthat', 'pkgdown', 'libgfortran-ng'), repos = 'http://cran.us.r-project.org')" \
289- # HTML Tidy
290- && cd /tmp \
291- && wget http://launchpadlibrarian.net/413419656/libtidy5deb1_5.6.0-10_amd64.deb \
292- && wget http://launchpadlibrarian.net/413419657/tidy_5.6.0-10_amd64.deb \
293- && dpkg -i libtidy5deb1_5.6.0-10_amd64.deb tidy_5.6.0-10_amd64.deb \
294- && rm -f libtidy5deb1_5.6.0-10_amd64.deb tidy_5.6.0-10_amd64.deb \
295275# Composer
296276&& cd /tmp \
297277&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
@@ -340,3 +320,12 @@ wget https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${FLYWAY_VER
340320&& chown -R root:root /entrypoint-docker.sh \
341321&& chmod -R g=u /entrypoint-docker.sh
342322ENTRYPOINT ["/entrypoint-docker.sh" ]
323+ LABEL "org.opencontainers.image.authors" ="info@tecnick.com"
324+ LABEL "org.opencontainers.image.url" ="https://github.com/tecnickcom/alldev"
325+ LABEL "org.opencontainers.image.documentation" ="https://github.com/tecnickcom/alldev/blob/main/README.md"
326+ LABEL "org.opencontainers.image.source" ="https://github.com/tecnickcom/alldev/blob/main/src/alldev.Dockerfile"
327+ LABEL "org.opencontainers.image.vendor" ="tecnickcom"
328+ LABEL "org.opencontainers.image.licenses" ="MIT"
329+ LABEL "org.opencontainers.image.title" ="alldev"
330+ LABEL "org.opencontainers.image.description" ="Linux-based development environment with support for multiple programming languages"
331+ LABEL "org.opencontainers.image.base.name" ="debian:12"
0 commit comments