Skip to content

Run tailor-meta on Noble #32

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
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pipeline {
"--build-arg AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY .")
}
parent_image.inside() {
sh('pip3 install -e tailor-meta')
sh('pip3 install -e tailor-meta --break-system-packages')
}
docker.withRegistry(params.docker_registry, docker_credentials) {
parent_image.push()
Expand Down
9 changes: 5 additions & 4 deletions environment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy
FROM ubuntu:noble

LABEL tailor="environment"

Expand Down Expand Up @@ -27,10 +27,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
git

COPY tailor-meta tailor-meta
RUN pip3 install -e tailor-meta
RUN pip3 install -e tailor-meta --break-system-packages

# Create non-root user
RUN groupadd -r tailor && useradd -ms /bin/bash -g tailor -G sudo tailor
# Rename default ubuntu user to tailor
RUN usermod -md /home/tailor -s /bin/bash -l tailor ubuntu
RUN groupmod -n tailor ubuntu
RUN echo "tailor ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers
USER tailor
RUN mkdir -p /home/tailor && \
Expand Down