FROM dbgate/dbgate:latest RUN groupadd dbgate RUN useradd -ms /bin/bash -g dbgate dbgate RUN chown -R dbgate ./ RUN chmod 755 ./ USER dbgate