Have a docker file

This commit is contained in:
Phil Smith
2019-05-11 17:21:48 -07:00
parent a761e98e18
commit 9bd7ecad4c
3 changed files with 34 additions and 0 deletions

25
Dockerfile Normal file
View File

@@ -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/