Skip to content

Commit

Permalink
Merge pull request #5 from tiewei/fix-ovs-pkg
Browse files Browse the repository at this point in the history
Update openvswitch package version
  • Loading branch information
dseevr authored Jan 19, 2018
2 parents c470345 + 0f09c32 commit c353518
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ FROM ubuntu:16.04
ENV DEBIAN_FRONTEND=noninteractive

# Install OVS
RUN apt-get update \
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get install -y openvswitch-switch=2.5.2-0ubuntu0.16.04.1 \
ruby-full \
libjson-c2 \
build-essential
&& apt-get install -y openvswitch-switch=2.5.2* ruby-full libjson-c2 build-essential \
&& rm -rf /var/lib/apt/lists/*

# Install gems
COPY Gemfile .
Expand All @@ -18,4 +16,4 @@ RUN bundle
# Upload exporter
COPY exporter.rb .

ENTRYPOINT ["ruby", "exporter.rb"]
ENTRYPOINT ["ruby", "exporter.rb"]

0 comments on commit c353518

Please sign in to comment.