mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Have a docker file
This commit is contained in:
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@@ -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
|
||||
@@ -41,3 +41,5 @@ Other contributors
|
||||
- YamaArashi <shadow962@live.com>
|
||||
|
||||
- yenatch <yenatch@gmail.com>
|
||||
|
||||
- phs <phil@philhsmith.com>
|
||||
|
||||
25
Dockerfile
Normal file
25
Dockerfile
Normal 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/
|
||||
Reference in New Issue
Block a user