Develop #134
3
.gitignore
vendored
3
.gitignore
vendored
@@ -25,3 +25,6 @@ nsis/*.exe
|
|||||||
|
|
||||||
doc/share
|
doc/share
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
|
.rpmmacros
|
||||||
|
*.gpg
|
||||||
|
@@ -1,13 +1,13 @@
|
|||||||
FROM registry.fedoraproject.org/fedora:42
|
FROM registry.fedoraproject.org/fedora:42
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
rubygems rpmbuild bsdtar mingw-nsis-base.x86_64 mingw32-nsis.noarch; \
|
rubygems rpmbuild rpmsign bsdtar mingw-nsis-base.x86_64 mingw32-nsis.noarch gpg2; \
|
||||||
microdnf clean all;
|
microdnf clean all;
|
||||||
|
|
||||||
# create user with 999 UID/GID
|
# create user with 999 UID/GID
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
groupadd -g 999 builder && \
|
groupadd -g 1001 builder; \
|
||||||
useradd -m -r -u 999 -g 999 -d /home/builder -s /bin/bash builder && \
|
useradd -m -u 1001 -g 1001 -d /home/builder -s /bin/bash builder; \
|
||||||
chown builder:builder /home/builder
|
chown builder:builder /home/builder
|
||||||
|
|
||||||
USER builder
|
USER builder
|
||||||
|
Reference in New Issue
Block a user