Skip to content
Permalink
Browse files

Changed dockerfile to use ubuntu and install default-jre

  • Loading branch information
boristsr committed Dec 7, 2019
1 parent 5aca818 commit c678cca0b624f1e062f1f64237fa1ca0b8f6dad1
Showing with 2 additions and 1 deletion.
  1. +2 −1 Dockerfile
@@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

FROM openjdk:8-jdk
FROM ubuntu:18.04
LABEL MAINTAINER="Nicolas De Loof <nicolas.deloof@gmail.com>"

ARG user=jenkins
@@ -37,6 +37,7 @@ RUN groupadd -g ${gid} ${group} \
# setup SSH server
RUN apt-get update \
&& apt-get install --no-install-recommends -y openssh-server \
&& apt-get install -y default-jre \
&& rm -rf /var/lib/apt/lists/*
RUN sed -i /etc/ssh/sshd_config \
-e 's/#PermitRootLogin.*/PermitRootLogin no/' \

0 comments on commit c678cca

Please sign in to comment.
You can’t perform that action at this time.