FROM docker.io/openjdk:8-jdk-alpine | |
ARG http_proxy | |
ARG https_proxy | |
ENV HTTP_PROXY=$http_proxy | |
ENV HTTPS_PROXY=$https_proxy | |
ENV http_proxy=$HTTP_PROXY | |
ENV https_proxy=$HTTPS_PROXY | |
# Update the package list and upgrade installed packages | |
RUN apk update && apk upgrade | |
# Install commonly needed tools | |
RUN apk --no-cache add curl netcat-openbsd sudo nss | |
# Create 'so' user | |
RUN addgroup -g 1000 so && adduser -S -u 1000 -G so -s /bin/sh so |