Dockerfile 1.1 KB

1234567891011121314151617181920212223
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. FROM ubuntu:oracular-20250619
  10. # Ensure any Rust binaries that crash print a backtrace.
  11. ENV RUST_BACKTRACE=1
  12. # Disable backtrace collection in Rust libraries, such as `anyhow`. Collecting
  13. # backtraces at runtime can be expensive and is known to cause deadlocks
  14. # (database-issues#9159).
  15. ENV RUST_LIB_BACKTRACE=0
  16. RUN sed -i -e 's#http://archive\.ubuntu\.com#http://us-east-1.ec2.archive.ubuntu.com#' \
  17. -e 's#http://security\.ubuntu\.com#http://us-east-1.ec2.archive.ubuntu.com#' \
  18. -e 's#http://ports\.ubuntu\.com#http://us-east-1.ec2.ports.ubuntu.com#' /etc/apt/sources.list.d/ubuntu.sources
  19. RUN apt-get update --fix-missing && TZ=UTC DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends eatmydata