-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- there is caveat - pylibconfig2 is a pip package, Ubuntu now enforces `--break-system-packages` to install it system-wide. In our case there is no system package to get for it, so it _should_ be safe. But. I don't want to go against this new rule (which is normally very reasonable) and therefore I am dropping `pylibconfig2` use for now. This is no disaster, it's used only by cert generator to reach portal name config variable from smithproxy config file. It's not utterly needed. Portal cert will be using hostname from system anyway. You can still install pylibconfig2 yourself: `pip install pylibconfig2 --break-system-packages`
- Loading branch information
Showing
5 changed files
with
64 additions
and
3 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,24 @@ | ||
FROM ubuntu:24.04 | ||
|
||
ARG FTP_UPLOAD_PWD="" | ||
ARG FTP_UPLOAD_USER="" | ||
ARG FTP_UPLOAD_PATH="" | ||
ARG HTTP_CHECK_PATH="" | ||
ARG SX_BRANCH="master" | ||
ARG CURL_UPLOAD_OPTS="" | ||
ARG MAKE_DEBUG="Y" | ||
ARG CHANNEL="snapshots" | ||
|
||
WORKDIR /app | ||
|
||
RUN if [ "$http_proxy" != "" ]; then echo "Acquire::http { Proxy \"${http_proxy}\"; };" >> /etc/apt/apt.conf.d/01proxy; fi; | ||
|
||
RUN apt update && apt -y install git && DEBIAN_FRONTEND=noninteractive apt install -y tzdata | ||
|
||
RUN echo "Getting git branch: ${SX_BRANCH}"; git clone --depth 1 --recursive https://github.com/astibal/smithproxy.git -b ${SX_BRANCH} smithproxy | ||
|
||
RUN cd smithproxy && ./tools/linux-deps.sh | ||
|
||
RUN cd /app/smithproxy/tools/pkg-scripts/deb && ./createdeb-0.9.sh | ||
|
||
CMD echo "there is nothing to see - it's a build-only image" |
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 @@ | ||
../hooks/ |
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 ubuntu:24.04 | ||
|
||
ARG FTP_UPLOAD_PWD="" | ||
ARG FTP_UPLOAD_USER="" | ||
ARG FTP_UPLOAD_PATH="" | ||
ARG HTTP_CHECK_PATH="" | ||
ARG SX_BRANCH="master" | ||
ARG CURL_UPLOAD_OPTS="" | ||
ARG MAKE_DEBUG="" | ||
ARG CHANNEL="snapshots" | ||
|
||
WORKDIR /app | ||
|
||
RUN if [ "$http_proxy" != "" ]; then echo "Acquire::http { Proxy \"${http_proxy}\"; };" >> /etc/apt/apt.conf.d/01proxy; fi; | ||
|
||
RUN apt update && apt -y install git && DEBIAN_FRONTEND=noninteractive apt install -y tzdata | ||
|
||
RUN echo "Getting git branch: ${SX_BRANCH}"; git clone --depth 1 --recursive https://github.com/astibal/smithproxy.git -b ${SX_BRANCH} smithproxy | ||
|
||
RUN cd smithproxy && ./tools/linux-deps.sh | ||
|
||
RUN cd /app/smithproxy/tools/pkg-scripts/deb && ./createdeb-0.9.sh | ||
|
||
CMD echo "there is nothing to see - it's a build-only image" |
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 @@ | ||
../hooks/ |
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