FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
moabb/bash/create_docker.sh at develop · goodcpp/moabb · GitHub
goodcpp
moabb
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
moabb
/
bash
/
create_docker.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
15 lines (13 loc) · 392 Bytes
Breadcrumbs
moabb
/
bash
/
create_docker.sh
Copy path
File metadata and controls
executable file
·
15 lines (13 loc) · 392 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!
/bin/bash
#
A simple script to build the distributed Docker image.
#
#
$ bash create_docker.sh
set
-ex
#
Updating the repository or (cloning the repository and Navigate into the repository)
git -C
$TAG
pull
||
true
TAG=moabb
#
Build the Docker image
docker build
.
-f Dockerfile -t
"
${TAG}
"
\
--build-arg USER_ID=
$(
id -u
)
\
--build-arg GROUP_ID=
$(
id -g
)
\
--build-arg USER=
${USER}
Back
|
FazBrowse Home
|
New Git URL