Skip to content

u/GeorgeRaven

In this archive from Apr 2019 to Apr 2021

3
posts
8
comments
2
media
75
score

Top posts

Top comments

Hey, just a thought, why not use a dockerfile probably something like:

FROM archlinux:latest
ARG user_name=archie
ARG user_password=archer
RUN pacman -Syyuu sudo base-devel --noconfirm
RUN useradd -m -p $(openssl passwd -1 ${user_password}) ${user_name} && \\
    echo "${user_name} ALL=(ALL) ALL" >> /etc/sudoers && \\
    echo "${user_name} ALL=(ALL) NOPASSWD:/usr/bin/pacman" >> /etc/sudoers
USER ${user_name}
COPY . /home/$(user_name)/pkg
RUN makepkg -s --noconfirm && \\
    echo "${user_password}" | sudo -S pacman -U *pkg.tar.xz --noconfirm


This uses existing tools, short, is self updating, automatable, repeatable, reproducible, integrateable into both cloud and local systems. Apologies if reddit added extra characters, it is only a quick suggestion.

Edit: Updated docker makepkg to build then install with pacman in two stages to allow automated build in docker without interaction.

21 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.