From c61f6de7942c12a4a83a98df9a0bbe4104b44516 Mon Sep 17 00:00:00 2001 From: Joseph Frazier <1212jtraceur@gmail.com> Date: Tue, 12 Jun 2018 17:41:06 -0400 Subject: [PATCH 1/3] Use Ubuntu 18.04 in Dockerfile This fixes recognition of plates in EXIF-oriented images. See here for details: https://github.com/openalpr/cloudapi/issues/16#issuecomment-396740100 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d94b623..70041d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -from ubuntu:14.04 +from ubuntu:18.04 # Install prerequisites run apt-get update && apt-get install -y \ From 6a36ff75983eb961c732e09ebcc9b26619616ce1 Mon Sep 17 00:00:00 2001 From: Joseph Frazier <1212jtraceur@gmail.com> Date: Tue, 12 Jun 2018 17:42:10 -0400 Subject: [PATCH 2/3] Don't prompt user for time zone in during Docker build See https://askubuntu.com/questions/909277/avoiding-user-interaction-with-tzdata-when-installing-certbot-in-a-docker-container --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 70041d4..a51d2ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ from ubuntu:18.04 # Install prerequisites +env DEBIAN_FRONTEND=noninteractive run apt-get update && apt-get install -y \ build-essential \ cmake \ From 61e98b4c8b7010a9f5e5ab82d18e7222755cbd84 Mon Sep 17 00:00:00 2001 From: Joseph Frazier <1212jtraceur@gmail.com> Date: Wed, 13 Jun 2018 12:15:37 -0400 Subject: [PATCH 3/3] Dockerfile: Only set DEBIAN_FRONTEND=noninteractive for `apt-get install` See https://github.com/openalpr/openalpr/pull/690#discussion_r194960280 --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a51d2ca..9f80f39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ from ubuntu:18.04 # Install prerequisites -env DEBIAN_FRONTEND=noninteractive -run apt-get update && apt-get install -y \ +run apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ build-essential \ cmake \ curl \