Public Repository

Last pushed: 7 months ago
Short Description
Alpine linux + dev tools
Full Description

Alpine linux with:

  • sshd
  • curl
  • JDK 8
  • maven
  • git

ENTRYPOINT ["/usr/sbin/sshd","-D","-e"]

Dockerfile:
FROM nazariene/alpine-jdk8

Maven

ARG MAVEN_VERSION=3.5.2
ARG USER_HOME_DIR="/root"
ARG SHA=707b1f6e390a65bde4af4cdaf2a24d45fc19a6ded00fff02e91626e3e42ceaff
ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries

RUN mkdir -p /usr/share/maven /usr/share/maven/ref \
&& curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz \
&& echo "${SHA} /tmp/apache-maven.tar.gz" | sha256sum -c - \
&& tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1 \
&& rm -f /tmp/apache-maven.tar.gz \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn

ENV MAVEN_HOME /usr/share/maven

Git

RUN apk update && apk upgrade && \
apk add --no-cache bash git openssh

Docker Pull Command
Owner
nazariene