ref: 9bd7ecad4c0ac02e4c0fa87cf3e4214f6048a642
parent: a761e98e183c2a8479944d30a2e73d8b1fa4eb1d
author: Phil Smith <phil@philhsmith.com>
date: Sat May 11 13:21:48 EDT 2019
Have a docker file
--- /dev/null
+++ b/.dockerignore
@@ -1,0 +1,7 @@
+# This file is part of RGBDS.
+#
+# Copyright (c) 2018-2019, Phil Smith and RGBDS contributors.
+#
+# SPDX-License-Identifier: MIT
+.git
+docs
--- a/CONTRIBUTORS.rst
+++ b/CONTRIBUTORS.rst
@@ -41,3 +41,5 @@
- YamaArashi <shadow962@live.com>
- yenatch <yenatch@gmail.com>
+
+- phs <phil@philhsmith.com>
--- /dev/null
+++ b/Dockerfile
@@ -1,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/