open5gs/docker/debian/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

34 lines
815 B
Docker

ARG dist=ubuntu
ARG tag=latest
ARG username=acetcom
FROM ${username}/${dist}-${tag}-open5gs-base
LABEL org.opencontainers.image.authors="Sukchan Lee <acetcom@gmail.com>"
RUN apt-get update && \
apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
git-buildpackage \
debhelper \
devscripts \
osc \
dput \
manpages-dev \
fakeroot \
cscope \
vim \
sudo \
wireshark \
iputils-ping \
net-tools && \
apt-get clean
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}