-
Notifications
You must be signed in to change notification settings - Fork 71
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 #791 from davidgiven/docker
Make work on Debian 11.
- Loading branch information
Showing
5 changed files
with
98 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
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 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,31 @@ | ||
FROM debian:11 | ||
|
||
RUN apt-get update | ||
RUN apt install -y python3 make xz-utils python3 python3-hamcrest \ | ||
protobuf-compiler libprotobuf-dev libsqlite3-dev \ | ||
libfmt-dev libprotobuf-dev wx-common pkg-config \ | ||
libudev-dev g++ libwxgtk3.0-gtk3-dev | ||
|
||
RUN useradd app | ||
RUN mkdir -p /home/app | ||
RUN chown app /home/app | ||
USER app | ||
WORKDIR /home/app | ||
|
||
COPY --chown=app:app arch arch | ||
COPY --chown=app:app build build | ||
COPY --chown=app:app dep dep | ||
COPY --chown=app:app doc doc | ||
COPY --chown=app:app extras extras | ||
COPY --chown=app:app lib lib | ||
COPY --chown=app:app scripts scripts | ||
COPY --chown=app:app src src | ||
COPY --chown=app:app tests tests | ||
COPY --chown=app:app tools tools | ||
COPY --chown=app:app Makefile . | ||
COPY --chown=app:app build.py . | ||
COPY --chown=app:app config.py . | ||
COPY --chown=app:app protocol.h . | ||
COPY --chown=app:app README.md . | ||
|
||
|
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,31 @@ | ||
FROM debian:12 | ||
|
||
RUN apt-get update | ||
RUN apt install -y python3 make xz-utils python3 python3-hamcrest \ | ||
protobuf-compiler libprotobuf-dev libsqlite3-dev \ | ||
libfmt-dev libprotobuf-dev wx-common pkg-config \ | ||
libudev-dev g++ libwxgtk3.2-dev | ||
|
||
RUN useradd app | ||
RUN mkdir -p /home/app | ||
RUN chown app /home/app | ||
USER app | ||
WORKDIR /home/app | ||
|
||
COPY --chown=app:app arch arch | ||
COPY --chown=app:app build build | ||
COPY --chown=app:app dep dep | ||
COPY --chown=app:app doc doc | ||
COPY --chown=app:app extras extras | ||
COPY --chown=app:app lib lib | ||
COPY --chown=app:app scripts scripts | ||
COPY --chown=app:app src src | ||
COPY --chown=app:app tests tests | ||
COPY --chown=app:app tools tools | ||
COPY --chown=app:app Makefile . | ||
COPY --chown=app:app build.py . | ||
COPY --chown=app:app config.py . | ||
COPY --chown=app:app protocol.h . | ||
COPY --chown=app:app README.md . | ||
|
||
|