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
afaa67f8
Commit
afaa67f8
authored
Jan 12, 2019
by
nagayama15
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dockerイメージのサイズを最小化
parent
dc7e4859
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
Dockerfile
Dockerfile
+8
-12
No files found.
Dockerfile
View file @
afaa67f8
...
...
@@ -7,12 +7,8 @@ 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
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
autoconf
\
build-essential
\
ca-certificates
\
curl
\
xz-utils
\
RUN
BUILD_DEPS
=
'autoconf build-essential ca-certificates curl xz-utils'
\
&&
apt-get update
&&
apt-get
install
-y
--no-install-recommends
$BUILD_DEPS
\
&&
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
\
...
...
@@ -21,13 +17,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&&
cd
/jemalloc-5.1.0
\
&&
./autogen.sh
\
&&
make
\
&&
mkdir
-p
/usr/local/lib
\
&&
mv
lib/libjemalloc.a /usr/local/lib/libjemalloc.a
\
&&
cd
-
\
&&
rm
-rf
/jemalloc-5.1.0
RUN
clang
-v
\
&&
gcc
-v
\
&&
rustc
--version
&&
rm
-rf
/jemalloc-5.1.0
\
&&
make
\
&&
rm
/usr/local/lib/libjemalloc.a
\
&&
rustup self uninstall
-y
\
&&
rm
-rf
/clang-7.0.0
\
&&
apt-get purge
-y
--auto-remove
$BUILD_DEPS
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