-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '[4] branding_special_chars'
- Loading branch information
Showing
17 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Build with: docker build -t yubiset_arch . | ||
# Run with: docker run -it yubiset_arch /bin/bash | ||
# Remove Container(s) on Windows: for /F "tokens=*" %i in ('docker ps -aqf "ancestor=yubiset_arch"') do docker rm -f %i | ||
# Remove Container(s) on Unix: docker rm -f $(docker ps -aqf "ancestor=yubiset_arch") | ||
# Remove with: docker image rm -f yubiset_arch | ||
|
||
FROM archlinux:latest | ||
|
||
RUN groupadd -r usergroup && useradd --no-log-init -r -g usergroup user | ||
RUN mkdir /home/user | ||
ADD yubiset /home/user/yubiset | ||
RUN find /home/user/yubiset -exec chown user:usergroup {} \; | ||
#rw-r--r-- | ||
RUN find /home/user/yubiset -type f -iname "*" -exec chmod 0644 {} \; | ||
#rwx-r--r-- | ||
RUN find /home/user/yubiset -type f -iname "*.sh" -exec chmod 740 {} \; | ||
USER user | ||
WORKDIR /home/user/yubiset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
declare -r branded_user_name="${user_name}" | ||
declare -r branded_user_comment="" | ||
# Be aware: GPG does not support arbitrary charaters in key comments. Especially parantheses '(' and ')' will cause problems. Don't use them. | ||
declare -r branded_user_comment= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters