commit a82236cf51d2c8342c937cf29795ccb5b5b64255 Author: Rob Greene Date: Fri Jan 19 20:08:14 2018 -0600 cc65 pipeline base. diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..f541375 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM alpine:latest + +LABEL description="This is a cc65 Docker container intended to be used for build pipelines." + +ENV VERSION="V2.16" + +RUN apk add --no-cache build-base && \ + wget -P /tmp https://github.com/cc65/cc65/archive/${VERSION}.tar.gz && \ + cd /tmp && \ + tar xzf *.tar.gz && \ + cd cc65* && \ + make && \ + env prefix=/usr/local make install && \ + cd - && \ + rm -rf *.tar.gz cc65* && \ + apk del --no-cache build-base && \ + apk add --no-cache make diff --git a/README.md b/README.md new file mode 100644 index 0000000..6013d80 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# cc65 build agent + +This Docker image is intended to be used in a build pipeline to build +6502/65c02/65816 projects. It is simply a blend of +[Alpine Linux](https://alpinelinux.org/) and +[cc65](http://cc65.github.io/cc65/). + +In an effort to keep the image small, it currently only contains (beyond the base Alpine Linux Docker image) `make` and `cc65`.