Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create Dockerfile #86

Closed
wants to merge 1 commit into from

Conversation

derrick56007
Copy link

No description provided.

@mattermod
Copy link
Contributor

Hello @derrick56007,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.

Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.

This is a standard procedure for many open source projects.

Please let us know if you have any questions.

We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

@jespino jespino self-requested a review March 18, 2021 10:26
@jespino
Copy link
Contributor

jespino commented Mar 18, 2021

Thanks @derrick56007 we need you to sign the CLA to accept your PR, anway, somebody already submitted another PR with a preliminary version of the Dockerfile, so if you want to apply changes to that docker file would be really useful.

# Install needed packages and clean up.
RUN apt-get update \
&& apt-get install -y curl wget git make gcc g++ ca-certificates --no-install-recommends \
# Go installation
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be consistant with spaces vs. tabs


# Install needed packages and clean up.
RUN apt-get update \
&& apt-get install -y curl wget git make gcc g++ ca-certificates --no-install-recommends \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put apt arguments before pacakge names, then sort packages one per line in A-Z order


WORKDIR /focalboard

RUN make prebuild && make \
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new line per command, keep the && on the previous line

@@ -0,0 +1,35 @@
FROM ubuntu:bionic
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add to README how to build and run the docker container

@obbardc
Copy link

obbardc commented Mar 18, 2021

Huh, i completely missed there is already a dockerfile in the main repo. Guess this can be closed

@it33
Copy link
Contributor

it33 commented Mar 18, 2021

@obbardc thanks for taking the initiative! Are there other ideas or projects you'd be interested in around focalboard?

@proffalken
Copy link
Contributor

Huh, i completely missed there is already a dockerfile in the main repo. Guess this can be closed

Heh, great minds and all that, I put in a basic one yesterday, completely missed this PR!

The one I created definitely needs some love though, so please make changes as you see fit!

@mattermod
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

@jasonblais
Copy link

Thanks for the contribution!

@jespino is this a duplicate of #76?

@jespino
Copy link
Contributor

jespino commented Apr 6, 2021

Yes, this can be closed, we already have a docker file and actually @flexo3001 is already improving it in another PR.

@jespino jespino closed this Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants