Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
HomeAssistant
Core
Commits
901c4f18
Commit
901c4f18
authored
6 years ago
by
Ben Schattinger
Committed by
Michaël Arnauts
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Install face_recognition on Docker build (#17502)
* Install face_recognition on Docker * Update setup_docker_prereqs
parent
43048962
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+1
-0
1 addition, 0 deletions
Dockerfile
virtualization/Docker/Dockerfile.dev
+1
-0
1 addition, 0 deletions
virtualization/Docker/Dockerfile.dev
virtualization/Docker/setup_docker_prereqs
+5
-0
5 additions, 0 deletions
virtualization/Docker/setup_docker_prereqs
with
7 additions
and
0 deletions
Dockerfile
+
1
−
0
View file @
901c4f18
...
@@ -11,6 +11,7 @@ LABEL maintainer="Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>"
...
@@ -11,6 +11,7 @@ LABEL maintainer="Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>"
#ENV INSTALL_FFMPEG no
#ENV INSTALL_FFMPEG no
#ENV INSTALL_LIBCEC no
#ENV INSTALL_LIBCEC no
#ENV INSTALL_SSOCR no
#ENV INSTALL_SSOCR no
#ENV INSTALL_DLIB no
#ENV INSTALL_IPERF3 no
#ENV INSTALL_IPERF3 no
VOLUME
/config
VOLUME
/config
...
...
This diff is collapsed.
Click to expand it.
virtualization/Docker/Dockerfile.dev
+
1
−
0
View file @
901c4f18
...
@@ -12,6 +12,7 @@ LABEL maintainer="Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>"
...
@@ -12,6 +12,7 @@ LABEL maintainer="Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>"
#ENV INSTALL_LIBCEC no
#ENV INSTALL_LIBCEC no
#ENV INSTALL_COAP no
#ENV INSTALL_COAP no
#ENV INSTALL_SSOCR no
#ENV INSTALL_SSOCR no
#ENV INSTALL_DLIB no
#ENV INSTALL_IPERF3 no
#ENV INSTALL_IPERF3 no
VOLUME /config
VOLUME /config
...
...
This diff is collapsed.
Click to expand it.
virtualization/Docker/setup_docker_prereqs
+
5
−
0
View file @
901c4f18
...
@@ -8,6 +8,7 @@ INSTALL_TELLSTICK="${INSTALL_TELLSTICK:-yes}"
...
@@ -8,6 +8,7 @@ INSTALL_TELLSTICK="${INSTALL_TELLSTICK:-yes}"
INSTALL_OPENALPR
=
"
${
INSTALL_OPENALPR
:-
yes
}
"
INSTALL_OPENALPR
=
"
${
INSTALL_OPENALPR
:-
yes
}
"
INSTALL_LIBCEC
=
"
${
INSTALL_LIBCEC
:-
yes
}
"
INSTALL_LIBCEC
=
"
${
INSTALL_LIBCEC
:-
yes
}
"
INSTALL_SSOCR
=
"
${
INSTALL_SSOCR
:-
yes
}
"
INSTALL_SSOCR
=
"
${
INSTALL_SSOCR
:-
yes
}
"
INSTALL_DLIB
=
"
${
INSTALL_DLIB
:-
yes
}
"
# Required debian packages for running hass or components
# Required debian packages for running hass or components
PACKAGES
=(
PACKAGES
=(
...
@@ -62,6 +63,10 @@ if [ "$INSTALL_SSOCR" == "yes" ]; then
...
@@ -62,6 +63,10 @@ if [ "$INSTALL_SSOCR" == "yes" ]; then
virtualization/Docker/scripts/ssocr
virtualization/Docker/scripts/ssocr
fi
fi
if
[
"
$INSTALL_DLIB
"
==
"yes"
]
;
then
pip3
install
--no-cache-dir
"dlib>=19.5"
fi
# Remove packages
# Remove packages
apt-get remove
-y
--purge
${
PACKAGES_DEV
[@]
}
apt-get remove
-y
--purge
${
PACKAGES_DEV
[@]
}
apt-get
-y
--purge
autoremove
apt-get
-y
--purge
autoremove
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment