-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from umarcor/ci/docker-cleanup
ci: cleanup container sources
- Loading branch information
Showing
5 changed files
with
72 additions
and
127 deletions.
There are no files selected for viewing
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
File renamed without changes.
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,24 @@ | ||
FROM python:3-slim-buster | ||
|
||
RUN apt-get update -qq \ | ||
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \ | ||
ca-certificates \ | ||
libusb-1.0-0 \ | ||
make \ | ||
&& apt-get autoclean && apt-get clean && apt-get -y autoremove \ | ||
&& update-ca-certificates \ | ||
&& rm -rf /var/lib/apt/lists | ||
|
||
ADD fomu-toolchain-Linux.tar.gz /opt | ||
|
||
ENV PATH=/opt/fomu-toolchain-Linux/bin:$PATH | ||
|
||
ENV USER=fomu | ||
RUN adduser --disabled-password ${USER} | ||
|
||
RUN usermod -a -G plugdev ${USER} | ||
|
||
COPY 99-fomu.rules /etc/udev/rules.d/ | ||
|
||
USER ${USER} | ||
WORKDIR /home/${USER} |
This file was deleted.
Oops, something went wrong.