mirror of
https://github.com/yuzu-emu/build-environments
synced 2024-11-22 11:03:43 +00:00
liftinstall: Reorder packages and use yuzu user
Also targets debian:buster instead of the ambiguous stable version.
This commit is contained in:
parent
a0e12a0d9a
commit
6ae86b3291
1 changed files with 10 additions and 8 deletions
|
@ -1,22 +1,24 @@
|
||||||
FROM debian:stable
|
FROM debian:buster
|
||||||
MAINTAINER yuzu
|
LABEL maintainer="yuzu"
|
||||||
|
|
||||||
# Create a user account yuzu (UID 1027) that the container will run as
|
# Create a user account yuzu (UID 1027) that the container will run as
|
||||||
RUN apt-get update && apt-get -y full-upgrade && \
|
RUN useradd -m -u 1027 -s /bin/bash yuzu && \
|
||||||
|
apt-get update && apt-get -y full-upgrade && \
|
||||||
apt-get install --no-install-recommends -y \
|
apt-get install --no-install-recommends -y \
|
||||||
|
apt-utils \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
cargo \
|
||||||
curl \
|
curl \
|
||||||
gnupg \
|
gnupg \
|
||||||
apt-utils && \
|
libssl-dev \
|
||||||
|
libwebkit2gtk-4.0-dev \
|
||||||
|
nodejs && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg -o /tmp/pubkey.gpg && \
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg -o /tmp/pubkey.gpg && \
|
||||||
apt-key add /tmp/pubkey.gpg && \
|
apt-key add /tmp/pubkey.gpg && \
|
||||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
|
||||||
apt-get update && apt-get install --no-install-recommends -y \
|
apt-get update && apt-get install --no-install-recommends -y \
|
||||||
libwebkit2gtk-4.0-dev \
|
|
||||||
libssl-dev \
|
|
||||||
cargo \
|
|
||||||
nodejs \
|
|
||||||
yarn && \
|
yarn && \
|
||||||
apt-get clean autoclean && \
|
apt-get clean autoclean && \
|
||||||
apt-get autoremove --yes && \
|
apt-get autoremove --yes && \
|
||||||
rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log
|
rm -rf /var/lib/apt /var/lib/dpkg /var/lib/cache /var/lib/log
|
||||||
|
USER 1027
|
||||||
|
|
Loading…
Reference in a new issue