-
Notifications
You must be signed in to change notification settings - Fork 2
🆕 add a linux custom #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Lambourl
wants to merge
6
commits into
main
Choose a base branch
from
feature/add-linux-custom
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1072e9a
🆕 add a linux custom
Lambourl 440ad07
🔧 rename the docker to use in linux-custom
Lambourl 49e822f
Merge remote-tracking branch 'origin/feature/environments-new-source-…
Lambourl 560a04c
🔧 add linux alma custom
Lambourl c45893b
🔧 fix typo
Lambourl de7fbb2
🔧 add a base toolchain to linux-ubuntu-2404.cmake
Lambourl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains hidden or 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,4 @@ | ||
[ | ||
"!linux-*/**", | ||
"linux-custom-almalinux-95*" | ||
] |
14 changes: 14 additions & 0 deletions
14
linux-custom-almalinux-95.pkr.js/linux-custom-almalinux-95.Dockerfile
This file contains hidden or 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,14 @@ | ||
ARG ALMALINUX_9_5="almalinux@sha256:91387bd5b12c2626c9b01a8062e6dd02cdf3a9d4b9ba705631c01597f9e3ae06" | ||
FROM ${ALMALINUX_9_5} | ||
|
||
# Install tipi and cmake-re | ||
ENV TIPI_DISTRO_MODE=default | ||
ENV TIPI_INSTALL_LEGACY_PACKAGES=OFF | ||
ENV SUDO_GROUP=wheel | ||
ENV TIPI_INSTALL_SOURCE=file:///tipi-linux-x86_64.zip | ||
COPY /tipi-linux-x86_64.zip . | ||
RUN curl -fsSL https://raw.githubusercontent.com/tipi-build/cli/c14014db11342118f65ef95520a70f43c17ca453/install/container/centos.sh -o centos.sh && /bin/bash centos.sh | ||
|
||
USER tipi | ||
WORKDIR /home/tipi | ||
EXPOSE 22 |
17 changes: 17 additions & 0 deletions
17
linux-custom-almalinux-95.pkr.js/linux-custom-almalinux-95.pkr.js
This file contains hidden or 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,17 @@ | ||
{ | ||
"variables": { }, | ||
"builders": [ | ||
{ | ||
"type": "docker", | ||
"image": "linux-custom-almalinux-95:{{cmake_re_source_hash}}", | ||
"commit": true | ||
} | ||
], | ||
"post-processors": [ | ||
{ | ||
"type": "docker-tag", | ||
"repository": "linux", | ||
"tag": "latest" | ||
} | ||
] | ||
} |
Empty file.
This file contains hidden or 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,4 @@ | ||
[ | ||
"!linux-*/**", | ||
"linux-custom*" | ||
] |
This file contains hidden or 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,16 @@ | ||
ARG UBUNTU_24_04="ubuntu@sha256:04f510bf1f2528604dc2ff46b517dbdbb85c262d62eacc4aa4d3629783036096" | ||
FROM ${UBUNTU_24_04} | ||
|
||
ENV TIPI_DISTRO_MODE=default | ||
ENV TIPI_INSTALL_LEGACY_PACKAGES=OFF | ||
ENV TIPI_INSTALL_SOURCE=file:///tipi-linux-x86_64.zip | ||
COPY /tipi-linux-x86_64.zip . | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive # avoid tzdata asking for configuration | ||
# Install tipi and cmake-re | ||
RUN apt update -y && apt install -y curl gettext | ||
RUN curl -fsSL https://raw.githubusercontent.com/tipi-build/cli/c14014db11342118f65ef95520a70f43c17ca453/install/container/ubuntu.sh -o ubuntu.sh && /bin/bash ubuntu.sh | ||
USER tipi | ||
WORKDIR /home/tipi | ||
EXPOSE 22 | ||
|
This file contains hidden or 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,18 @@ | ||
{ | ||
"variables": { }, | ||
"builders": [ | ||
{ | ||
"type": "docker", | ||
"image": "linux-custom:{{cmake_re_source_hash}}", | ||
"commit": true | ||
} | ||
], | ||
"post-processors": [ | ||
{ | ||
"type": "docker-tag", | ||
"repository": "linux", | ||
"tag": "latest" | ||
} | ||
] | ||
|
||
} |
This file contains hidden or 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 @@ | ||
include("${CMAKE_CURRENT_LIST_DIR}/linux-cxx17.cmake") |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we now have a full one, do we want to put a default toolchain file with useful compiler defaults ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done