Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ShellB3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ray Garcia
ShellB3
Commits
34399118
Commit
34399118
authored
Sep 11, 2020
by
Ray Garcia
Browse files
Options
Downloads
Patches
Plain Diff
Building updated centos7 SB3 for late 2020
parent
6fabbdc7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Docker/shellb3-cspp-py36.Dockerfile
+0
-26
0 additions, 26 deletions
Docker/shellb3-cspp-py36.Dockerfile
Docker/shellb3-cspp-py38.Dockerfile
+21
-0
21 additions, 0 deletions
Docker/shellb3-cspp-py38.Dockerfile
with
21 additions
and
26 deletions
Docker/shellb3-cspp-py36.Dockerfile
deleted
100644 → 0
+
0
−
26
View file @
6fabbdc7
# docker build . -f shellb3-cspp-py36.Dockerfile -t shellb3-cspp-py36:latest
# docker run -e SHELLB3_ARCHIVE_DIR=/dock -it --rm -v $HOME/dock:/dock -w /opt/shellb3-cspp-py36/ShellB3 shellb3-cspp-py36 /bin/bash -l -c "unset LANG; bash shallbethree.sh bin_dist"
FROM
centos:6
RUN
yum
-y
install
gcc-gfortran gcc-c++ unzip perl patch byacc bison flex glibc-devel.i686 glibc-devel.x86_64 xz epel-release
RUN
yum
-y
install
git wget perl-TermReadKey
\
&&
wget
--content-disposition
https://packagecloud.io/github/git-lfs/packages/el/7/git-lfs-2.11.0-1.el7.x86_64.rpm/download.rpm
\
&&
wget https://packages.endpoint.com/rhel/6/os/x86_64/git-1.8.4-1.ep.x86_64.rpm
\
&&
wget https://packages.endpoint.com/rhel/6/os/x86_64/perl-Git-1.8.4-1.ep.noarch.rpm
\
&&
rpm
-Uvh
git-1.8.4-1.ep.x86_64.rpm perl-Git-1.8.4-1.ep.noarch.rpm
\
&&
rpm
-ivh
git-lfs-2.11.0-1.el7.x86_64.rpm
RUN
test
-d
/opt
||
mkdir
/opt
RUN
test
-d
/work
||
mkdir
/work
ARG
BORT=develop
RUN
cd
/opt
&&
git clone https://gitlab.ssec.wisc.edu/rayg/ShellB3.git
--branch
${
BORT
}
--single-branch
--depth
1 shellb3-cspp-py36
RUN
ln
-s
shellb3-cspp-py36/ShellB3 /opt/ShellB3
RUN
ln
-s
/opt/shellb3-cspp-py36 /work/ShellB3
ENV
MAKEFLAGS=-j12
# was 37 originally but changed back due to ssl 1.0.2 constraint
ARG
PYTHON_VERSION=36
ARG
LINUXCPUFLAGS="-msse2 -fPIC"
WORKDIR
/opt/shellb3-cspp-py36/ShellB3
RUN
bash
-e
shallbethree.sh mk_gcc7
ARG
SB3_TRIM=cspp
RUN
bash
-e
shallbethree.sh mk_
${
SB3_TRIM
}
WORKDIR
/work
RUN
echo export
HOSTNAME
=
$(
perl
-ne
'/.*"HOSTNAME": "(\w+)",/ && print "$1";'
</opt/shellb3-cspp-py36/ShellB3/build/.build_env.json
)
>
/etc/profile.d/99-build-host.sh
This diff is collapsed.
Click to expand it.
Docker/shellb3-cspp-py38.Dockerfile
0 → 100644
+
21
−
0
View file @
34399118
# docker build --build-arg BORT=develop . -f shellb3-cspp-py38.Dockerfile -t shellb3-cspp-py38:latest
# docker run -e SHELLB3_ARCHIVE_DIR=/dock -it --rm -v $HOME/dock:/dock -w /opt/shellb3-cspp-py38/ShellB3 shellb3-cspp-py38 /bin/bash -l -c "unset LANG; bash shallbethree.sh bin_dist"
FROM
centos:7
RUN
yum
-y
install
gcc-gfortran gcc-c++ unzip perl patch byacc bison flex glibc-devel.i686 glibc-devel.x86_64 xz epel-release wget
RUN
yum
-y
install
git git-lfs
RUN
test
-d
/opt
||
mkdir
/opt
RUN
test
-d
/work
||
mkdir
/work
ARG
BORT
RUN
cd
/opt
&&
echo
"using branch or tag
${
BORT
}
"
\
&&
git clone https://gitlab.ssec.wisc.edu/rayg/ShellB3.git
--branch
${
BORT
}
--single-branch
--depth
1 shellb3-cspp-py38
RUN
ln
-s
shellb3-cspp-py38/ShellB3 /opt/ShellB3
RUN
ln
-s
/opt/shellb3-cspp-py38 /work/ShellB3
ENV
MAKEFLAGS=-j12
ARG
PYTHON_VERSION=38
ARG
LINUXCPUFLAGS="-msse2 -fPIC"
WORKDIR
/opt/shellb3-cspp-py38/ShellB3
RUN
bash
-e
shallbethree.sh mk_gcc8
ARG
TRIM=cspp
RUN
bash
-e
shallbethree.sh mk_
${
TRIM
}
WORKDIR
/work
RUN
echo export
HOSTNAME
=
$(
perl
-ne
'/.*"HOSTNAME": "(\w+)",/ && print "$1";'
</opt/shellb3-cspp-py38/ShellB3/build/.build_env.json
)
>
/etc/profile.d/99-build-host.sh
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment