Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
15b279ab
Commit
15b279ab
authored
5 years ago
by
Esun Kim
Browse files
Options
Downloads
Patches
Plain Diff
Add auditwheel to linux docker
parent
fa37db2b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/dockerfile/grpc_artifact_linux_x64/Dockerfile
+10
-2
10 additions, 2 deletions
tools/dockerfile/grpc_artifact_linux_x64/Dockerfile
tools/dockerfile/grpc_artifact_linux_x86/Dockerfile
+12
-4
12 additions, 4 deletions
tools/dockerfile/grpc_artifact_linux_x86/Dockerfile
with
22 additions
and
6 deletions
tools/dockerfile/grpc_artifact_linux_x64/Dockerfile
+
10
−
2
View file @
15b279ab
...
@@ -57,10 +57,10 @@ RUN \curl -sSL https://get.rvm.io | bash -s stable
...
@@ -57,10 +57,10 @@ RUN \curl -sSL https://get.rvm.io | bash -s stable
# Install Ruby 2.1
# Install Ruby 2.1
RUN
/bin/bash
-l
-c
"rvm install ruby-2.1"
RUN
/bin/bash
-l
-c
"rvm install ruby-2.1"
RUN
/bin/bash
-l
-c
"rvm use --default ruby-2.1"
RUN
/bin/bash
-l
-c
"rvm use --default ruby-2.1"
RUN
/bin/bash
-l
-c
"echo 'gem: --no-
ri --no-rdoc
' > ~/.gemrc"
RUN
/bin/bash
-l
-c
"echo 'gem: --no-
document
' > ~/.gemrc"
RUN
/bin/bash
-l
-c
"echo 'export PATH=/usr/local/rvm/bin:
$PATH
' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"echo 'export PATH=/usr/local/rvm/bin:
$PATH
' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"echo 'rvm --default use ruby-2.1' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"echo 'rvm --default use ruby-2.1' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"gem install bundler -v 1.17.3 --no-
ri --no-rdoc
"
RUN
/bin/bash
-l
-c
"gem install bundler -v 1.17.3 --no-
document
"
##################
##################
...
@@ -79,6 +79,14 @@ RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf
...
@@ -79,6 +79,14 @@ RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf
RUN
sed
-i
'/deb http:\/\/deb.debian.org\/debian jessie-updates main/d'
/etc/apt/sources.list
RUN
sed
-i
'/deb http:\/\/deb.debian.org\/debian jessie-updates main/d'
/etc/apt/sources.list
RUN
apt-get update
&&
apt-get
install
-t
jessie-backports
-y
cmake
&&
apt-get clean
RUN
apt-get update
&&
apt-get
install
-t
jessie-backports
-y
cmake
&&
apt-get clean
##################
# Python AuditWheel dependencies (needed to check manylinux1 compatibility)
RUN
apt-get
install
-y
python3 python3-pip
RUN
pip3
install
auditwheel
==
1.10.0
RUN
mkdir
/var/local/jenkins
RUN
mkdir
/var/local/jenkins
# Define the default command.
# Define the default command.
...
...
This diff is collapsed.
Click to expand it.
tools/dockerfile/grpc_artifact_linux_x86/Dockerfile
+
12
−
4
View file @
15b279ab
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
# Docker file for building gRPC artifacts.
# Docker file for building gRPC artifacts.
FROM
32bit
/debian:jessie
FROM
i386
/debian:jessie
RUN
sed
-i
'/deb http:\/\/http.debian.net\/debian jessie-updates main/d'
/etc/apt/sources.list
RUN
sed
-i
'/deb http:\/\/http.debian.net\/debian jessie-updates main/d'
/etc/apt/sources.list
# Install Git and basic packages.
# Install Git and basic packages.
...
@@ -49,7 +49,6 @@ RUN apt-get update && apt-get install -y \
...
@@ -49,7 +49,6 @@ RUN apt-get update && apt-get install -y \
##################
##################
# Ruby dependencies
# Ruby dependencies
# Install rvm
# Install rvm
# Install rvm
RUN
apt-get update
&&
apt-get
install
-y
gnupg2
RUN
apt-get update
&&
apt-get
install
-y
gnupg2
RUN
gpg2
--keyserver
hkp://pool.sks-keyservers.net
--recv-keys
409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
RUN
gpg2
--keyserver
hkp://pool.sks-keyservers.net
--recv-keys
409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
...
@@ -58,10 +57,11 @@ RUN \curl -sSL https://get.rvm.io | bash -s stable
...
@@ -58,10 +57,11 @@ RUN \curl -sSL https://get.rvm.io | bash -s stable
# Install Ruby 2.1
# Install Ruby 2.1
RUN
/bin/bash
-l
-c
"rvm install ruby-2.1"
RUN
/bin/bash
-l
-c
"rvm install ruby-2.1"
RUN
/bin/bash
-l
-c
"rvm use --default ruby-2.1"
RUN
/bin/bash
-l
-c
"rvm use --default ruby-2.1"
RUN
/bin/bash
-l
-c
"echo 'gem: --no-
ri --no-rdoc
' > ~/.gemrc"
RUN
/bin/bash
-l
-c
"echo 'gem: --no-
document
' > ~/.gemrc"
RUN
/bin/bash
-l
-c
"echo 'export PATH=/usr/local/rvm/bin:
$PATH
' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"echo 'export PATH=/usr/local/rvm/bin:
$PATH
' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"echo 'rvm --default use ruby-2.1' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"echo 'rvm --default use ruby-2.1' >> ~/.bashrc"
RUN
/bin/bash
-l
-c
"gem install bundler -v 1.17.3 --no-ri --no-rdoc"
RUN
/bin/bash
-l
-c
"gem install bundler -v 1.17.3 --no-document"
##################
##################
# C# dependencies (needed to build grpc_csharp_ext)
# C# dependencies (needed to build grpc_csharp_ext)
...
@@ -72,6 +72,14 @@ RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf
...
@@ -72,6 +72,14 @@ RUN echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf
RUN
sed
-i
'/deb http:\/\/deb.debian.org\/debian jessie-updates main/d'
/etc/apt/sources.list
RUN
sed
-i
'/deb http:\/\/deb.debian.org\/debian jessie-updates main/d'
/etc/apt/sources.list
RUN
apt-get update
&&
apt-get
install
-t
jessie-backports
-y
cmake
&&
apt-get clean
RUN
apt-get update
&&
apt-get
install
-t
jessie-backports
-y
cmake
&&
apt-get clean
##################
# Python AuditWheel dependencies (needed to check manylinux1 compatibility)
RUN
apt-get
install
-y
python3 python3-pip
RUN
pip3
install
auditwheel
==
1.10.0
RUN
mkdir
/var/local/jenkins
RUN
mkdir
/var/local/jenkins
# Define the default command.
# Define the default command.
...
...
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