Skip to content

Instantly share code, notes, and snippets.

@kellyjandrews kellyjandrews/Dockerfile
Last active Oct 23, 2017

Embed
What would you like to do?
Codeship Example Files
codeship_example:
build: .
environment:
EXAMPLE_ENV_VAR: example-var
- type: parallel
name: example_parallel_step
steps:
- service: codeship_example
command: printenv
- service: codeship_example
command: ls
- name: example_tagged_step
tag: master
service: codeship_example
command: echo "Deploy here!"
FROM ubuntu:zesty
RUN mkdir /usr/src/app
WORKDIR /usr/src/app
COPY . .
CMD ["printenv"]
@mlocher

This comment has been minimized.

Copy link

mlocher commented Jul 11, 2017

Couple suggestions from me:

  1. Adapt the services file similar to what Laura did for codeship-library/ruby-rails-todoapp#6 (i.e. remove the top level version and services directive.

  2. Pin to a specific version of Ubuntu, either latest LTS (ubuntu:xenial) or the latest release (ubuntu:zesty).

We imo also should think about moving these gists to a Codeship branded (shared) account, which would make overall maintenance easier, or even a normal repository, which would allow using PRs and reviews (and CI if we want to).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.