Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
llvm-watermarker
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nagayama15
llvm-watermarker
Commits
deca457d
Commit
deca457d
authored
Dec 27, 2018
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DockerfileにRustのツールチェインを追加
parent
e1465d11
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Dockerfile
Dockerfile
+7
-3
No files found.
Dockerfile
View file @
deca457d
...
...
@@ -4,13 +4,17 @@ COPY . /nykk
WORKDIR
/nykk
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
xz-utils
\
build-essential
\
ca-certificates
\
curl
\
xz-utils
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
curl
-SL
http://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz |
tar
-xJC
/
\
&&
mv
/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04 /clang_7.0.0
\
&&
echo
'export PATH=/clang_7.0.0/bin:$PATH'
>>
~/.bashrc
\
&&
echo
'export LD_LIBRARY_PATH=/clang_7.0.0/lib:LD_LIBRARY_PATH'
>>
~/.bashrc
&&
curl https://sh.rustup.rs
-sSf
| sh
-s
--
-y
--default-toolchain
stable
ENV
PATH=/clang_7.0.0/bin:$PATH
ENV
PATH=/root/.cargo/bin:$PATH
ENV
LD_LIBRARY_PATH=/clang_7.0.0/lib:$LD_LIBRARY_PATH
CMD
[ "/bin/bash" ]
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