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
|
||||
|
||||
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:
|
||||
go build ./tools/http_server
|
||||
|
@ -2,9 +2,9 @@ ARG UBUNTU_VERSION
|
||||
|
||||
FROM ubuntu:${UBUNTU_VERSION}
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y nginx
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y nginx \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY vpp-data/lib/* /usr/lib/
|
||||
COPY resources/nginx/vcl.conf /vcl.conf
|
||||
|
Reference in New Issue
Block a user