Skip to content

Commit d7f9ef5

Browse files
authored
Merge pull request #2070 from girder/dependabot/docker/ubuntu-26.04
Bump ubuntu from 24.04 to 26.04
2 parents 2460299 + 3eac0a8 commit d7f9ef5

2 files changed

Lines changed: 16 additions & 4 deletions

File tree

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,12 @@ jobs:
164164
- run:
165165
name: Publish the images to Docker Hub
166166
command: |
167+
if [[ "$CIRCLE_BRANCH" =~ ^(master|girder-3|testdocker)$ ]]; then
167168
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
168169
docker push girder/tox-and-node:latest
170+
else
171+
echo Skipped
172+
fi
169173
testdocker-lts:
170174
machine:
171175
image: ubuntu-2204:current
@@ -178,8 +182,12 @@ jobs:
178182
- run:
179183
name: Publish the images to Docker Hub
180184
command: |
185+
if [[ "$CIRCLE_BRANCH" =~ ^(master|girder-3|testdocker)$ ]]; then
181186
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
182187
docker push girder/tox-and-node-lts:latest
188+
else
189+
echo Skipped
190+
fi
183191
py310:
184192
machine:
185193
image: ubuntu-2204:current
@@ -371,6 +379,8 @@ workflows:
371379
# Create a branch of this name to push to docker hub
372380
- testdocker
373381
- girder-3
382+
# build but don't push
383+
- /.*docker.*/
374384
- testdocker-lts:
375385
filters:
376386
branches:
@@ -379,6 +389,8 @@ workflows:
379389
# Create a branch of this name to push to docker hub
380390
- testdocker
381391
- girder-3
392+
# build but don't push
393+
- /.*docker.*/
382394
- py310:
383395
filters:
384396
tags:

test.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:24.04
1+
FROM ubuntu:26.04
22

33
# This is mostly based on the Dockerfiles from themattrix/pyenv and
44
# themattrix/tox-base. It has some added packages, most notably liblzma-dev,
@@ -68,9 +68,9 @@ RUN apt-get update && \
6868
dnsutils \
6969
universal-ctags \
7070
&& \
71-
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
72-
find /usr/share/locale -mindepth 1 -maxdepth 1 ! -name 'en_US*' ! -name 'C' ! -name 'en' -type d -exec rm -rf {} + && \
73-
find /usr/share/i18n -mindepth 1 ! -name 'en_US*' ! -name 'C' -type f -exec rm -f {} + && \
71+
locale-gen en_US.UTF-8 && \
72+
apt-get remove -y locales && \
73+
rm -rf /usr/bin/pebble && \
7474
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash && \
7575
find / -xdev -name __pycache__ -type d -exec rm -r {} \+ && \
7676
rm -rf /etc/ssh/ssh_host* && \

0 commit comments

Comments
 (0)