Skip to content

Commit 7fefbf8

Browse files
authored
Merge pull request #230 from PauloASilva/fix/dockerfile
fix(dockerfile): deprecated Dockerfile instructions
2 parents e8ca871 + 63b11d6 commit 7fefbf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

VMs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This dockerfile builds a container that pulls down and runs the latest version of BenchmarkJava
22
FROM ubuntu:latest
3-
MAINTAINER "Dave Wichers dave.wichers@owasp.org"
3+
LABEL org.opencontainers.image.authors="Dave Wichers dave.wichers@owasp.org"
44

55
RUN apt-get update
66
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata
@@ -35,7 +35,7 @@ RUN useradd -d /home/bench -m -s /bin/bash bench
3535
RUN echo bench:bench | chpasswd
3636

3737
RUN chown -R bench /owasp/
38-
ENV PATH /owasp/BenchmarkJava:$PATH
38+
ENV PATH=/owasp/BenchmarkJava:$PATH
3939

4040
# start up Benchmark once, for 60 seconds, then kill it, so the additional dependencies required to run it are downloaded/cached in the image as well.
4141
# exit 0 is required to return a 'success' code, otherwise the timeout returns a failure code, causing the Docker build to fail.

0 commit comments

Comments
 (0)