diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..84ab1203 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +# This file is part of RGBDS. +# +# Copyright (c) 2018-2019, Phil Smith and RGBDS contributors. +# +# SPDX-License-Identifier: MIT +.git +docs diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index ae8a923c..04c853c3 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -41,3 +41,5 @@ Other contributors - YamaArashi - yenatch + +- phs diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..2f44782b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +# This file is part of RGBDS. +# +# Copyright (c) 2018-2019, Phil Smith and RGBDS contributors. +# +# SPDX-License-Identifier: MIT +# docker build -t rgbds:vX.X.X-alpine +FROM alpine:latest +RUN apk add --update \ + build-base \ + byacc \ + flex \ + libpng-dev +COPY . /rgbds +WORKDIR /rgbds +RUN make Q='' all + +FROM alpine:latest +RUN apk add --update \ + libpng +COPY --from=0 \ + /rgbds/rgbasm \ + /rgbds/rgbfix \ + /rgbds/rgblink \ + /rgbds/rgbgfx \ + /bin/