-
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.
-Update Dockerfiles for Ubuntu20 and Ubuntu22
- Loading branch information
1 parent
feb7e8f
commit 395d11c
Showing
4 changed files
with
102 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
FROM ubuntu:20.04 | ||
RUN apt update | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TERM xterm-256color | ||
RUN apt-get update && \ | ||
apt-get -y install sudo | ||
|
||
RUN apt-get install -y gcc-multilib | ||
RUN apt-get install -y g++-multilib | ||
RUN apt-get install -y libdwarf-dev | ||
RUN apt-get install -y make | ||
RUN apt-get install -y libelf-dev | ||
RUN apt-get install -y libsqlite3-dev | ||
RUN apt-get install -y libssl-dev | ||
RUN apt-get install -y doxygen | ||
RUN apt-get install -y gcovr | ||
|
||
RUN mkdir /home/docker | ||
COPY . /home/docker/juicer | ||
|
||
|
||
RUN cd /home/docker/juicer && make clean | ||
RUN cd /home/docker/juicer && make docs | ||
|
||
RUN cd /home/docker/juicer && make | ||
RUN cd /home/docker/juicer && make clean | ||
RUN cd /home/docker/juicer && make all | ||
WORKDIR /home/docker/juicer/build | ||
RUN ./juicer-ut "[Enumeration]" | ||
RUN ./juicer-ut "[main_test#1]" | ||
RUN ./juicer-ut "[main_test#2]" | ||
RUN ./juicer-ut "[main_test#3]" | ||
RUN ./juicer-ut "[main_test#4]" | ||
RUN ./juicer-ut "[main_test#5]" | ||
RUN ./juicer-ut "[main_test#6]" | ||
RUN ./juicer-ut "[main_test#7]" | ||
RUN ./juicer-ut "[main_test#8]" | ||
RUN ./juicer-ut "[main_test#9]" | ||
RUN ./juicer-ut "[main_test#10]" | ||
RUN ./juicer-ut "[main_test#11]" | ||
RUN ./juicer-ut "[main_test#12]" | ||
RUN ./juicer-ut "[main_test#13]" | ||
RUN ./juicer-ut "[main_test#14]" | ||
RUN ./juicer-ut "[main_test#15]" | ||
RUN ./juicer-ut "[main_test#16]" | ||
RUN ./juicer-ut "[main_test#17]" | ||
RUN ./juicer-ut "[Module]" | ||
RUN ./juicer-ut "[Symbol]" | ||
|
||
RUN cd /home/docker/juicer && make coverage | ||
#Useful for CI | ||
RUN cd /home/docker/juicer && gcovr --filter /home/docker/juicer/src/ --object-directory /home/docker/juicer/build/ut_obj/ --xml coverage.gcov | ||
|
||
|
||
|
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,21 @@ | ||
FROM ubuntu:22.04 | ||
RUN apt update | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TERM xterm-256color | ||
RUN apt-get update && \ | ||
apt-get -y install sudo | ||
|
||
RUN apt-get install -y gcc-multilib | ||
RUN apt-get install -y g++-multilib | ||
RUN apt-get install -y libdwarf-dev | ||
RUN apt-get install -y make | ||
RUN apt-get install -y libelf-dev | ||
RUN apt-get install -y libsqlite3-dev | ||
RUN apt-get install -y libssl-dev | ||
RUN apt-get install -y doxygen | ||
RUN apt-get install -y gdb | ||
RUN apt-get install -y gcovr | ||
|
||
RUN mkdir /home/docker | ||
RUN mkdir /home/docker/juicer | ||
WORKDIR /home/docker/juicer |
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,21 @@ | ||
FROM ubuntu:22.04 | ||
RUN apt update | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ENV TERM xterm-256color | ||
RUN apt-get update && \ | ||
apt-get -y install sudo | ||
|
||
RUN apt-get install -y gcc-multilib | ||
RUN apt-get install -y g++-multilib | ||
RUN apt-get install -y libdwarf-dev | ||
RUN apt-get install -y make | ||
RUN apt-get install -y libelf-dev | ||
RUN apt-get install -y libsqlite3-dev | ||
RUN apt-get install -y libssl-dev | ||
RUN apt-get install -y doxygen | ||
RUN apt-get install -y gdb | ||
RUN apt-get install -y gcovr | ||
|
||
RUN mkdir /home/docker | ||
RUN mkdir /home/docker/juicer | ||
WORKDIR /home/docker/juicer |
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