Skip to content

Commit

Permalink
Bump Ubuntu to 24.04 in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
acogoluegnes committed Feb 17, 2025
1 parent 4676ff8 commit a736ceb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:22.04 as builder
FROM ubuntu:24.04 as builder

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / Push Docker image to Docker Hub

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / Push Docker image to Docker Hub

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / Push Docker image to Docker Hub

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / Push Docker image to Docker Hub

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

ARG stream_perf_test_url="set-url-here"

Expand Down Expand Up @@ -59,7 +59,7 @@ RUN set -eux; \
mkdir -p "$STREAM_PERF_TEST_HOME"; \
cp /usr/local/src/stream-perf-test.jar $STREAM_PERF_TEST_HOME/stream-perf-test.jar

FROM ubuntu:22.04
FROM ubuntu:24.04

# we need locales support for characters like µ to show up correctly in the console
RUN set -eux; \
Expand Down Expand Up @@ -88,8 +88,8 @@ RUN set -eux; \
if [ "$(uname -m)" = "x86_64" ] ; then java -jar stream-perf-test.jar --help ; \
fi

RUN groupadd --gid 1000 stream-perf-test
RUN useradd --uid 1000 --gid stream-perf-test --comment "perf-test user" stream-perf-test
RUN groupadd --gid 2000 stream-perf-test
RUN useradd --uid 2000 --gid stream-perf-test --comment "perf-test user" stream-perf-test

USER stream-perf-test:stream-perf-test

Expand Down

0 comments on commit a736ceb

Please sign in to comment.