Skip to content
Snippets Groups Projects
Commit 72a85cba authored by Griefed's avatar Griefed :joystick:
Browse files

Expand template repo

parent bfb1d1d4
No related branches found
No related tags found
No related merge requests found
.git
.gitignore
.github
.gitattributes
README.md
LICENSE.md
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
# Windows shortcuts
*.lnk
FROM lsiobase/nginx:3.12
FROM lsiobase/alpine:3.12
FROM lsiobase/ubuntu:bionic
FROM lsiobase/rdesktop:focal
FROM lsiobase/mono:LTS
RUN \
echo "**** install dependencies and build tools and stuff ****" && \
apk add --no-cache \
git && \
###
# INSTALL EVERYTHING
# ÄÄÄWÄÄÄRIIIZIIIING
###
echo "**** clone app repository ****" && \
git clone -b \
GITURL \
/app/APPNAME && \
echo "**** install app, for example with npm ****" && \
cd /app/APPNAME && \
npm install && \
npm run-script build && \
echo "**** delete unneeded packages and stuff ****" && \
apk del --purge \
git && \
rm -rf \
/root/.cache \
/tmp/*
# Copy local files
COPY root/ /
# Communicate ports and volumes to be used
EXPOSE PORT
VOLUME /config /data
## NOTES ##
## Delete files\folders not needed
## The User abc, should be running everything, give that permission in any case you need it.
## When creating init's Use 10's where posible, its to allow add stuff in between when needed. also, do not be afraid to split custom code into several little ones.
## user abc and folders /app /config /defaults are all created by baseimage
## the first available init script is 30<your script>
## you can comment the beginning of each new RUN block but you cannot comment between commands in each RUN block.
FROM lsiobase/nginx:3.12
FROM lsiobase/alpine:3.12
FROM lsiobase/ubuntu:bionic
FROM lsiobase/rdesktop:focal
FROM lsiobase/mono:LTS
# Add qemu to build on x86_64 systems
COPY qemu-aarch64-static /usr/bin
RUN \
echo "**** install dependencies and build tools and stuff ****" && \
apk add --no-cache \
git && \
###
# INSTALL EVERYTHING
# ÄÄÄWÄÄÄRIIIZIIIING
###
echo "**** clone app repository ****" && \
git clone -b \
GITURL \
/app/APPNAME && \
echo "**** install app, for example with npm ****" && \
cd /app/APPNAME && \
npm install && \
npm run-script build && \
echo "**** delete unneeded packages and stuff ****" && \
apk del --purge \
git && \
rm -rf \
/root/.cache \
/tmp/*
# Copy local files
COPY root/ /
# Communicate ports and volumes to be used
EXPOSE PORT
VOLUME /config /data
## NOTES ##
## Delete files\folders not needed
## The User abc, should be running everything, give that permission in any case you need it.
## When creating init's Use 10's where posible, its to allow add stuff in between when needed. also, do not be afraid to split custom code into several little ones.
## user abc and folders /app /config /defaults are all created by baseimage
## the first available init script is 30<your script>
## you can comment the beginning of each new RUN block but you cannot comment between commands in each RUN block.
FROM lsiobase/nginx:3.12
FROM lsiobase/alpine:3.12
FROM lsiobase/ubuntu:bionic
FROM lsiobase/rdesktop:focal
FROM lsiobase/mono:LTS
# Add qemu to build on x86_64 systems
COPY qemu-arm-static /usr/bin
RUN \
echo "**** install dependencies and build tools and stuff ****" && \
apk add --no-cache \
git && \
###
# INSTALL EVERYTHING
# ÄÄÄWÄÄÄRIIIZIIIING
###
echo "**** clone app repository ****" && \
git clone -b \
GITURL \
/app/APPNAME && \
echo "**** install app, for example with npm ****" && \
cd /app/APPNAME && \
npm install && \
npm run-script build && \
echo "**** delete unneeded packages and stuff ****" && \
apk del --purge \
git && \
rm -rf \
/root/.cache \
/tmp/*
# Copy local files
COPY root/ /
# Communicate ports and volumes to be used
EXPOSE PORT
VOLUME /config /data
## NOTES ##
## Delete files\folders not needed
## The User abc, should be running everything, give that permission in any case you need it.
## When creating init's Use 10's where posible, its to allow add stuff in between when needed. also, do not be afraid to split custom code into several little ones.
## user abc and folders /app /config /defaults are all created by baseimage
## the first available init script is 30<your script>
## you can comment the beginning of each new RUN block but you cannot comment between commands in each RUN block.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment