mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +00:00
We have some Dockerfiles that reference Ubuntu 19.04, which is not an LTS version and has now appears to have been retired from the Ubuntu repositories. Switch to 18.04, which is the current long-term support version. This also requires a switch from OpenJDK 12 to 11. Also change a usage of 16.04 to 18.04, for consistency.
18 lines
403 B
Docker
18 lines
403 B
Docker
FROM ubuntu:18.04
|
|
|
|
RUN apt-get update -qqy
|
|
RUN apt-get install -qqy openjdk-11-jre-headless
|
|
|
|
ARG port
|
|
ARG bucket
|
|
ARG token
|
|
|
|
ENV GCS_FIXTURE_PORT=${port}
|
|
ENV GCS_FIXTURE_BUCKET=${bucket}
|
|
ENV GCS_FIXTURE_TOKEN=${token}
|
|
|
|
ENTRYPOINT exec java -classpath "/fixture/shared/*" \
|
|
fixture.gcs.GoogleCloudStorageHttpFixture 0.0.0.0 "$GCS_FIXTURE_PORT" "$GCS_FIXTURE_BUCKET" "$GCS_FIXTURE_TOKEN"
|
|
|
|
EXPOSE $port
|