-
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.
- Loading branch information
Matthew Geiger
committed
Aug 2, 2021
1 parent
92932af
commit cf59b71
Showing
10 changed files
with
148 additions
and
242 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
MAIL_TO_ADDRS_FILE=mail_to.txt | ||
|
||
DKR_USER=nappl_fswms | ||
DKR_GROUP=nappl | ||
|
||
DOCKER=/usr/bin/docker | ||
|
||
|
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
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 |
---|---|---|
|
@@ -3,19 +3,20 @@ FROM ubuntu:18.04 | |
ARG DKR_BUILD_DIR | ||
ARG DKR_USER | ||
ARG DKR_GROUP | ||
ARG DKR_USER_ID | ||
ARG DKR_GROUP_ID | ||
|
||
MAINTAINER NEMAC Dev Team <[email protected]> | ||
|
||
#RUN useradd $DKR_USER | ||
#RUN mkdir $DKR_BUILD_DIR | ||
#RUN chown $DKR_USER:$DKR_GROUP $DKR_BUILD_DIR | ||
|
||
# SMTP | ||
EXPOSE 587 | ||
EXPOSE 25 | ||
# HTTP | ||
EXPOSE 80 | ||
|
||
RUN groupadd -g ${DKR_GROUP_ID} ${DKR_GROUP} && \ | ||
useradd -l -u ${DKR_USER_ID} -g ${DKR_GROUP_ID} ${DKR_USER} | ||
|
||
WORKDIR $DKR_BUILD_DIR | ||
|
||
ADD ./install $DKR_BUILD_DIR/install | ||
|
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
from util import load_env | ||
|
||
load_env(ns=globals()) | ||
|
||
def get_test_dir(folder): | ||
return os.path.join('./test', folder) | ||
|
||
def link_archive(src=PRECURSORS_DIR, dst=get_test_dir(PRECURSORS_DIR)): | ||
def copy3(src, dst): | ||
src = os.path.realpath(src) | ||
dst = os.path.realpath(dst) | ||
os.symlink(src, dst) | ||
shutil.copytree(src, dst, copy_function=copy3) | ||
|
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