Dockerfile 470 B

12345678910111213
  1. # Copyright 2021 The golang.design Initiative Authors.
  2. # All rights reserved. Use of this source code is governed
  3. # by a MIT license that can be found in the LICENSE file.
  4. #
  5. # Written by Changkun Ou <changkun.de>
  6. FROM golang:1.24
  7. RUN apt-get update && apt-get install -y \
  8. xvfb libx11-dev libegl1-mesa-dev libgles2-mesa-dev \
  9. && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  10. WORKDIR /app
  11. COPY . .
  12. CMD [ "sh", "-c", "./tests/test-docker.sh" ]