Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
taste-setup
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TASTE
taste-setup
Commits
72b6228b
Commit
72b6228b
authored
Oct 07, 2017
by
Maxime Perrotin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitrepos.estec.esa.int/taste/taste-setup
parents
4b739728
bde761a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
0 deletions
+35
-0
Docker-run.sh
Docker-run.sh
+34
-0
misc/ZestSC1/linux/Makefile
misc/ZestSC1/linux/Makefile
+1
-0
No files found.
Docker-run.sh
0 → 100755
View file @
72b6228b
#!/bin/bash
if
!
command
-v
docker
;
then
echo
"[x] You don't have Docker installed. Aborting..."
exit
1
fi
docker images |
grep
^taste
>
/dev/null
||
{
echo
"[x] You haven't built the TASTE Docker container."
echo
'[x] You need to execute this to create it:'
echo
'[x]'
echo
'[x] docker build -t taste .'
echo
'[x]'
exit
1
}
echo
'[-] ==========================================='
echo
'[-] Both Docker and the TASTE image were found.'
echo
'[-] You will be able to run all TASTE applications, including X11 ones,'
echo
-e
"[-] and
\e
[1m
\e
[31m your
\$
HOME folder is mapped under /root/work (save files ONLY
\e
[0m"
echo
-e
"[-]
\e
[1m
\e
[31m there, everything else will be deleted when the container dies).
\e
[0m"
echo
-e
'[-] Also, \e[1m\e[32m the TASTE repositories are under /root/tool-src.\e[0m'
echo
'[-]'
echo
'[-] Launching the TASTE Docker container...'
echo
'[-]'
HOMEB
=
/root
XSOCK
=
/tmp/.X11-unix
XAUTH
=
/tmp/.docker.xauth
touch
${
XAUTH
}
xauth nlist :0 |
sed
-e
's/^..../ffff/'
| xauth
-f
${
XAUTH
}
nmerge -
docker run
\
-e
DISPLAY
\
-e
XAUTHORITY
=
${
XAUTH
}
\
-v
${
XSOCK
}
:
${
XSOCK
}
\
-v
${
XAUTH
}
:
${
XAUTH
}
\
-v
"
$HOME
"
:
"
$HOMEB
"
/work
\
-it
taste /bin/bash
-i
misc/ZestSC1/linux/Makefile
View file @
72b6228b
...
...
@@ -30,5 +30,6 @@ clean:
rm
$(OBJS)
$(TARGET)
:
$(OBJS)
mkdir
-p
Lib
$(AR)
$(ARFLAGS)
$(TARGET)
$(OBJS)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment