This repository has been archived by the owner on Dec 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [x] use alpine 3.12 - [x] common `apk add` where possible - [x] update copyright header where possible Signed-off-by: Ernesto Ojeda <ernesto.ojeda@intel.com>
- Loading branch information
1 parent
a339fdb
commit 70f5f2b
Showing
4 changed files
with
54 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# Copyright (c) 2020 IOTech Ltd | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
ARG BASE=alpine:3.12 | ||
FROM ${BASE} | ||
LABEL maintainer="Bindu Rao <bindu@iotechsys.com>" | ||
RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev | ||
|
||
COPY scripts /device-grove/scripts | ||
COPY src /device-grove/src/ | ||
COPY Makefile /device-grove/Makefile | ||
RUN cd /device-grove && make -s version | tee /device-grove/VERSION && rm -f /device-grove/Makefile | ||
RUN mkdir -p /device-grove/build | ||
|
||
WORKDIR /device-grove | ||
RUN /device-grove/scripts/build_deps.sh 1 | ||
RUN /device-grove/scripts/build.sh |