wolfssl/Docker/Dockerfile

13 lines
389 B
Docker
Raw Normal View History

2022-12-15 12:10:48 -05:00
ARG DOCKER_BASE_IMAGE=ubuntu:22.04
FROM $DOCKER_BASE_IMAGE
USER root
2023-02-08 11:25:11 -05:00
RUN DEBIAN_FRONTEND=noninteractive apt update && apt install -y build-essential autoconf libtool git gdb iputils-ping clang lldb bsdmainutils
2022-12-15 12:10:25 -05:00
ARG USER=docker
ARG UID=1000
ARG GID=1000
RUN groupadd -f -g ${GID} docker && ( getent passwd ${UID} || useradd -ms /bin/bash ${USER} -u ${UID} -g ${GID} )
2022-12-15 12:10:25 -05:00
USER ${UID}:${GID}