Last active
May 6, 2021 23:13
-
-
Save MakerTim/e309a100bb574b6ac363f5cefb3c2b0c to your computer and use it in GitHub Desktop.
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
FROM docker.io/linuxserver/mariadb:latest | |
ENV MYSQL_ROOT_PASSWORD=testpass | |
ENV GRADLE_VERSION 7.0 | |
ENV GRADLE_HOME /opt/gradle | |
LABEL maintainer="[email protected]" | |
RUN apt update && mkdir -p /usr/share/man/man1/ \ | |
&& apt-get install --yes --no-install-recommends \ | |
default-jdk \ | |
curl fontconfig unzip zip wget \ | |
bzr git git-lfs mercurial openssh-client subversion \ | |
&& rm -rf /var/lib/apt/lists/* \ | |
&& echo "Downloading Gradle" \ | |
&& wget --no-verbose --output-document=gradle.zip "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip" \ | |
\ | |
&& echo "Installing Gradle" \ | |
&& unzip gradle.zip \ | |
&& rm gradle.zip \ | |
&& mv "gradle-${GRADLE_VERSION}" "${GRADLE_HOME}/" \ | |
&& ln --symbolic "${GRADLE_HOME}/bin/gradle" /usr/bin/gradle \ | |
&& echo "Testing Gradle installation" \ | |
&& gradle --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment