ref: 54e5bf0f0c60b7ccc80215bfe10571267474e7f8
parent: 847cae5b95c43b6ff5317335b4185ac22161bd52
parent: 9bd7ecad4c0ac02e4c0fa87cf3e4214f6048a642
author: Antonio Niño Díaz <[email protected]>
date: Thu Jul 4 19:07:16 EDT 2019
Merge pull request #343 from phs/phs/docker 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
@@ -43,3 +43,5 @@
- YamaArashi <[email protected]>
- yenatch <[email protected]>
+
+- phs <[email protected]>
--- /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/