open5gs/docker/fedora/latest/dev/Dockerfile
Md. Amdadul Bari Imad 7453b5be9a docker: replace deprecated MAINTAINER with OCI image label
Use org.opencontainers.image.authors label instead of deprecated
MAINTAINER instruction in all Dockerfiles.
2026-02-08 11:55:34 +09:00

23 lines
531 B
Docker

ARG dist=fedora
ARG tag=latest
ARG username=acetcom
FROM ${username}/${dist}-${tag}-open5gs-base
LABEL org.opencontainers.image.authors="Sukchan Lee <acetcom@gmail.com>"
RUN dnf -y install \
findutils \
cscope \
vim \
sudo \
iputils \
net-tools
COPY setup.sh /root
ARG username=acetcom
RUN useradd -m --uid=2000 ${username} && \
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
chmod 0440 /etc/sudoers.d/${username}
WORKDIR /home/${username}