-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch docker base image to alpine, and remove container after compil…
…ation (#5) * Switch docker base image to alpine, and remove container after compilation. * Remove unnecessary ADD command in Dockerfile
- Loading branch information
1 parent
f549a15
commit 952214c
Showing
2 changed files
with
6 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
FROM ubuntu | ||
FROM alpine | ||
|
||
MAINTAINER Kelvin Abrokwa ([email protected]) | ||
|
||
# install dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
RUN apk add --update \ | ||
alpine-sdk \ | ||
gcc-avr \ | ||
binutils-avr \ | ||
avr-libc | ||
|
||
WORKDIR firmware/ |
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