Skip to content

Commit cafb317

Browse files
committed
WIP: profiling.rpm.m4 a dependency for the crossbuild target
1 parent 93fccca commit cafb317

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

scripts/docker/m4/profiling.rpm.m4

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
ARG from=CB_IMAGE
2+
FROM ${from}
3+
4+
# Copy profiling profile scripts into the container
5+
COPY /scripts/docker/profiling/profiles/PROFILING_PROFILE_NAME /profiling
6+
7+
RUN /profiling/configure-cmd
8+
RUN make
9+
10+
WORKDIR /
11+
COPY scripts/docker/etc/docker-entrypoint.sh.PKG_TYPE docker-entrypoint.sh
12+
RUN chmod +x docker-entrypoint.sh
13+
14+
EXPOSE 1812/udp 1813/udp
15+
ENTRYPOINT ["/docker-entrypoint.sh"]
16+
CMD ["/profiling/startprofiling-cmd"]

0 commit comments

Comments
 (0)