Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vagrant-boxen
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Piotr Maślanka
vagrant-boxen
Commits
be7303dd
Commit
be7303dd
authored
8 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
better cleanup
parent
09b36752
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nodejs5_jdk_adk25/Vagrantfile
+3
-1
3 additions, 1 deletion
nodejs5_jdk_adk25/Vagrantfile
with
3 additions
and
1 deletion
nodejs5_jdk_adk25/Vagrantfile
+
3
−
1
View file @
be7303dd
...
...
@@ -18,17 +18,19 @@ Vagrant.configure("2") do |config|
cd /home/vagrant
wget -nv http://dev.dms-serwis.com.pl/misc/jdk-8u121-linux-x64.tar.gz
tar xzf jdk-8u121-linux-x64.tar.gz
rm -f jdk-8u121-linux-x64.tar.gz
update-alternatives --install /usr/bin/java java /home/vagrant/jdk1.8.0_121/bin/java 100
update-alternatives --install /usr/bin/javac javac /home/vagrant/jdk1.8.0_121/bin/javac 100
update-alternatives --install /usr/bin/jar jar /home/vagrant/jdk1.8.0_121/bin/jar 100
update-alternatives --install /usr/bin/jarsigner jarsigner /home/vagrant/jdk1.8.0_121/bin/jarsigner 100
echo """
export PATH=
\$
PATH:/home/vagrant/platform-tools:/home/vagrant/build-tools/25.0.1:/home/vagrant/tools
export PATH=
\
\
$PATH:/home/vagrant/platform-tools:/home/vagrant/build-tools/25.0.1:/home/vagrant/tools
export ANDROID_HOME=/home/vagrant
""" >> /home/vagrant/.bashrc
wget -nv http://dev.dms-serwis.com.pl/misc/tools_r25.2.3-linux.zip
unzip tools_r25.2.3-linux.zip
rm -f tools_r25.2.3-linux.zip
echo y | ./tools/bin/sdkmanager "build-tools;25.0.1" "build-tools;24.0.0" "platforms;android-25" "platforms;android-24" "platforms;android-23" "platform-tools" "extras;android;m2repository" "extras;google;m2repository" "extras;google;google_play_services"
chown -R vagrant:vagrant /home/vagrant
...
...
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