Skip to content
Discussion options

You must be logged in to vote

The Docker container only switches to appuser in the entrypoint. You could replace the entrypoint, but thats not very secure. It's most recommended to just write your own Dockerfile to extend the base image. Something like this:

FROM zauberzeug/nicegui:2.1.0

RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
    apt-get install -y --no-install-recommends \
    vim \
    && rm -rf /var/lib/apt/lists/* \
    && apt-get clean

Build with

docker build -t nicegui-vim . 

And run bash in the container with

docker run --rm -it nicegui-vim bash

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@J0ergL
Comment options

Comment options

You must be logged in to vote
2 replies
@rodja
Comment options

rodja Sep 8, 2024
Maintainer

Answer selected by J0ergL
@J0ergL
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants