-
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 container image to install the lib * set id on step for setting tags
- Loading branch information
Showing
5 changed files
with
54 additions
and
32 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FROM ubuntu:22.04 | ||
LABEL Description="CPP Build Environment" | ||
|
||
ARG TCAMAKE_VERSION=v23.08 | ||
|
||
ENV HOME /root | ||
ENV TCAMAKE_PROJECT /usr/lib | ||
ENV TCAMAKE_PREFIX /usr | ||
|
||
shell ["/bin/bash", "-c"] | ||
|
||
RUN apt-get update && apt-get -y --no-install-recommends install \ | ||
build-essential \ | ||
ca-certificates \ | ||
curl \ | ||
libtool \ | ||
liblz4-dev \ | ||
libssl-dev \ | ||
libzstd-dev \ | ||
net-tools \ | ||
pkg-config \ | ||
rsync \ | ||
tini | ||
|
||
WORKDIR /opt | ||
|
||
RUN curl https://github.com/tcarland/tcamake/archive/refs/tags/${TCAMAKE_VERSION}.tar.gz -L -o /tmp/tcamake.tar.gz && \ | ||
tar -xzf /tmp/tcamake.tar.gz && \ | ||
mv tcamake-* tcamake && \ | ||
rm /tmp/tcamake.tar.gz | ||
|
||
RUN mkdir -p /opt/tcanetpp | ||
COPY . /opt/tcanetpp | ||
|
||
RUN cd tcanetpp && source resources/tcanetpp_release_mt && \ | ||
make arlib solib cmdbuf && make install && make distclean | ||
|
||
ENTRYPOINT ["/usr/bin/tini", "--"] |
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 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