meta: remove regular users from all the images

This commit is contained in:
liushuyu 2019-04-13 19:09:44 -06:00
parent 281b0174f1
commit 2f65db6e84
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
5 changed files with 2 additions and 10 deletions

View File

@ -1,6 +1,4 @@
FROM ubuntu:18.04
LABEL maintainer="citraemu"
RUN useradd -m -s /bin/bash citra
RUN apt-get update && apt-get -y full-upgrade
RUN apt-get install -y git clang-format-6.0
USER citra

View File

@ -1,6 +1,4 @@
FROM ubuntu:18.04
LABEL maintainer="citraemu"
RUN useradd -m -s /bin/bash citra
RUN apt-get update && apt-get -y full-upgrade
RUN apt-get install -y p7zip-full build-essential libsdl2-dev qtbase5-dev libqt5opengl5-dev qtmultimedia5-dev qttools5-dev qttools5-dev-tools libavcodec-dev libavformat-dev libswscale-dev wget git ccache cmake ninja-build
USER citra

View File

@ -1,6 +1,6 @@
FROM ubuntu:18.04
LABEL maintainer="citraemu"
RUN useradd -m -s /bin/bash citra && mkdir -p /tmp/pkgs
RUN mkdir -p /tmp/pkgs
COPY install_package.py /tmp/pkgs
RUN apt-get update && apt-get install -y build-essential wget git python-launchpadlib ccache ninja-build
RUN cd /tmp/pkgs && python2 install_package.py \
@ -16,4 +16,3 @@ RUN cd /tmp/pkgs && python2 install_package.py \
libavformat-dev 7:3.4.4-0ubuntu0.18.04.1 bionic \
libswscale-dev 7:3.4.4-0ubuntu0.18.04.1 bionic
RUN rm -rf /tmp/pkgs
USER citra

View File

@ -1,6 +1,6 @@
FROM ubuntu:18.04
LABEL maintainer="citraemu"
RUN useradd -m -s /bin/bash citra && mkdir -p /tmp/pkgs
RUN mkdir -p /tmp/pkgs
RUN apt-get update && apt-get install -y gpg wget git python3-pip ccache p7zip-full g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 mingw-w64-tools cmake ninja-build
# workaround broken headers in Ubuntu MinGW package
COPY errno.h /usr/x86_64-w64-mingw32/include/
@ -10,4 +10,3 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv '72931B477E22FEFD47F8DEC
RUN apt-get install -y sdl2-mingw-w64 qt5base-mingw-w64 qt5tools-mingw-w64 libsamplerate-mingw-w64 qt5multimedia-mingw-w64
COPY mingw-setup.sh /tmp/pkgs
RUN cd /tmp/pkgs && bash -e mingw-setup.sh
USER citra

View File

@ -1,6 +1,4 @@
FROM alpine
LABEL maintainer="citraemu"
RUN adduser -u 1000 -D -s /bin/bash citra
RUN apk update && apk add build-base cmake python3-dev qt5-qttools-dev qt5-qtmultimedia-dev
RUN pip3 install transifex-client
USER citra