hs-test: fix install/build on new ubuntu instance
Type: test Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I9c59d98d16e387925057626ba9080210f4334c53
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
all: build docker
|
all: build docker
|
||||||
|
|
||||||
install-dep:
|
install-dep:
|
||||||
apt update -y && apt install -y apache2-utils wrk
|
apt update -y && apt install -y golang docker-ce apache2-utils wrk bridge-utils
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build ./tools/http_server
|
go build ./tools/http_server
|
||||||
|
@ -2,9 +2,9 @@ ARG UBUNTU_VERSION
|
|||||||
|
|
||||||
FROM ubuntu:${UBUNTU_VERSION}
|
FROM ubuntu:${UBUNTU_VERSION}
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update \
|
||||||
RUN apt-get install -y nginx
|
&& apt-get install -y nginx \
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY vpp-data/lib/* /usr/lib/
|
COPY vpp-data/lib/* /usr/lib/
|
||||||
COPY resources/nginx/vcl.conf /vcl.conf
|
COPY resources/nginx/vcl.conf /vcl.conf
|
||||||
|
Reference in New Issue
Block a user