File Dockerfile of Package container-portainer

#!BuildTag: portainer-ce:%%portainer_patch%%-%RELEASE%
#!BuildTag: portainer-ce:%%portainer_patch%%
#!BuildTag: portainer-ce:latest
FROM opensuse/tumbleweed

ARG PORT_VERSION=%%portainer_patch%%

RUN zypper ref && \
    zypper install -y gzip tar findutils portainer docker docker-compose-switch gdb && \
    zypper clean && rm /tmp/* -rf

RUN groupadd -r portainer && useradd -r -g portainer -m -d /var/lib/portainer -s /sbin/nologin -c "Portainer user" portainer && \
    chmod 755 /var/lib/portainer


ADD . /tmp

RUN cp /usr/bin/portainer /usr/bin/docker /usr/bin/docker-compose /

VOLUME /data
WORKDIR /

EXPOSE 9000
EXPOSE 9443
EXPOSE 8000

ENTRYPOINT ["/portainer"]
openSUSE Build Service is sponsored by