-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support arm / docker deploys of site
- Loading branch information
Showing
9 changed files
with
16 additions
and
73 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,5 +1,7 @@ | ||
# Maintainer Jonathan Mainguy [email protected] | ||
FROM fedora as build | ||
FROM fedora | ||
# Set architecture-specific variables | ||
ARG TARGETARCH | ||
RUN dnf install -y bash-completion git gcc perl-CPAN perl-Curses ncurses-devel cmake gcc-c++ | ||
# asciiquarium | ||
RUN curl https://raw.githubusercontent.com/Jmainguy/asciiquarium/main/asciiquarium --output /bin/asciiquarium | ||
|
@@ -15,19 +17,18 @@ RUN mkdir -p /home/jmainguy/bin | |
ADD .gotty /home/jmainguy/.gotty | ||
ADD bashrc /home/jmainguy/.bashrc | ||
# Bible | ||
RUN curl -L https://github.com/Jmainguy/bible/releases/download/v0.3.1/bible_Linux_x86_64.tar.gz --output /tmp/bible.tar.gz | ||
# Download the correct binary based on architecture | ||
RUN curl -L "https://github.com/Jmainguy/bible/releases/download/v0.3.2/bible_Linux_${TARGETARCH}.tar.gz" -o /tmp/bible.tar.gz | ||
RUN tar zxvf /tmp/bible.tar.gz | ||
RUN cp bible /home/jmainguy/bin/ | ||
RUN mkdir -p /home/jmainguy/.bible/ | ||
RUN curl -L https://github.com/Jmainguy/bible/raw/main/database/bible.db --output /home/jmainguy/.bible/bible.db | ||
RUN cp database/bible.db /home/jmainguy/.bible/bible.db | ||
# Bak | ||
RUN curl https://raw.githubusercontent.com/Jmainguy/bak/main/bak --output /home/jmainguy/bin/bak | ||
RUN chmod +x /home/jmainguy/bin/* | ||
RUN dnf install -y python3-xattr | ||
|
||
FROM fedora as middle | ||
ADD motd /etc/motd | ||
COPY --from=build /home/jmainguy /home/jmainguy | ||
RUN useradd jmainguy | ||
RUN chown -R jmainguy:jmainguy /home/jmainguy | ||
|
||
|
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,2 @@ | ||
# This is a personal blog. | ||
# This is my personal blog. | ||
https://jmainguy.com |
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,3 +1,2 @@ | ||
# [email protected] | ||
## You *should'nt be able to send an email from the shell here, sorry =) | ||
mailto:[email protected] |
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,4 +1,4 @@ | ||
# Personal Profile | ||
https://github.com/Jmainguy | ||
# Deprecated company profile when I ran a minecraft business | ||
https://github.com/standouthost/multicraft | ||
# My personal infrastructure organization | ||
https://github.com/standouthost |
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,5 +1,2 @@ | ||
# I was a certified Red Hat Architect. | ||
# It is currently expired | ||
# This means I had a RHCE, RHCSA | ||
# And atleast 5 other Red Hat Certificates. | ||
https://www.redhat.com/rhtapps/certification/verify/?certId=140-120-619 |
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,4 +1,8 @@ | ||
Welcome to Jonathan Seth Mainguy's open source profile. | ||
You might want to ls, to see what files are in here. | ||
cat the files, to see what they contain. | ||
This site has no challenges and is mainly a resume | ||
cat the files, to see what they contain. | ||
|
||
Some fun commands you might enjoy | ||
- cmatrix (I didnt make this, its just fun) | ||
- asciiquarium (I didnt make this, its just fun) | ||
- bible (I wrote this program) |
This file was deleted.
Oops, something went wrong.