Add java path override in the event it is set in local user settings

This commit is contained in:
Chuck Lantz
2019-04-26 18:29:26 +00:00
parent de101956ab
commit 654fd5b27f
2 changed files with 15 additions and 2 deletions

View File

@@ -5,11 +5,21 @@
FROM maven:3.6-jdk-8
# Install git, process tools
RUN apt-get update && apt-get -y install git procps
# Copy endpoint specific user settings overrides into container to specify Java path
COPY settings.vscode.json /root/.vscode-remote/data/Machine/settings.json
# Configure apt
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils 2>&1
# Verify git, needed tools installed
RUN apt-get -y install git procps curl
# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=dialog