Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
trainbenchmark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
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
Jesper
trainbenchmark
Commits
5de9a30d
Commit
5de9a30d
authored
6 years ago
by
Carl Mai
Browse files
Options
Downloads
Patches
Plain Diff
better motd with a frog
parent
99ee4828
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+2
-1
2 additions, 1 deletion
Dockerfile
docker/bashrc
+2
-4
2 additions, 4 deletions
docker/bashrc
docs/motd
+3
-3
3 additions, 3 deletions
docs/motd
with
7 additions
and
8 deletions
Dockerfile
+
2
−
1
View file @
5de9a30d
...
...
@@ -25,7 +25,7 @@ RUN apt-get update -y && apt-get install -y \
COPY
trainbenchmark-reporting/install.R /trainbenchmark/trainbenchmark-reporting/install.R
RUN
Rscript /trainbenchmark/trainbenchmark-reporting/install.R
USER
user
#
USER user
WORKDIR
/trainbenchmark
COPY
--chown=user:user . .
...
...
@@ -41,3 +41,4 @@ RUN ./gradlew --no-daemon initScripts
# RUN ./gradlew --no-daemon generate
# RUN ./gradlew --no-daemon individualInjectBenchmark
# RUN ./gradlew --no-daemon individualRepairBenchmark
ENTRYPOINT
/bin/bash
This diff is collapsed.
Click to expand it.
docker/bashrc
+
2
−
4
View file @
5de9a30d
source /etc/bashrc
function csv_viewer {
column -t -s, -n "$@" | less -F -S -X -K
}
...
...
@@ -7,7 +5,7 @@ alias doc_motd="bash /trainbenchmark/docs/motd"
alias doc_basic="bash /trainbenchmark/docs/basic"
alias doc_advanced="bash /trainbenchmark/docs/advanced"
alias
cow
say="cowsay -f /trainbenchmark/docker/frog.cow"
alias
cow
say_tip="shuf -n 1 /trainbenchmark/docker/tips |
cowsay -f /trainbenchmark/docker/frog.cow
"
alias
frog
say="
/usr/games/
cowsay -f /trainbenchmark/docker/frog.cow"
alias
frog
say_tip="shuf -n 1 /trainbenchmark/docker/tips |
frogsay
"
doc_motd
This diff is collapsed.
Click to expand it.
docs/motd
+
3
−
3
View file @
5de9a30d
#!/bin/bash
DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
>
/dev/null
&&
pwd
)
"
# echo -e " "
# echo -e " * ) ) ) ) "
# echo -e " ) /( ( ) ( ( /( ( ( /( ) ) ( ( /( "
...
...
@@ -9,8 +8,9 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
# echo -e " | | | '_|/ _' | | || ' \))| '_ \/ -_)| ' \))/ _| | ' \ | ' \()/ _' || '_|| / / "
# echo -e " |_| |_| \__,_| |_||_||_| |_.__/\___||_||_| \__| |_||_||_|_|_| \__,_||_| |_\_\ "
# echo -e " "
cowsay_tip
bash
$DIR
/basic
echo
"Welcome to the Trainbenchmark! I'll be your guide.. just type frogsay_tip"
| /usr/games/cowsay
-f
/trainbenchmark/docker/frog.cow
#DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
#bash $DIR/basic
echo
-e
""
echo
-e
"
\0
33[1;96mDocumentation"
echo
-e
"
\0
33[0mRun the following commands"
...
...
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
register
or
sign in
to comment