Comments (2)
I guess you didn't create image locally because golang-example-app:development
no public image -
Steps -
make install
(create folder and install packages for wire, sql-migration and dataloaden), maybe it is not needed just to check, but it will be needed to test the librariesmake dependencies
, it's justgo mod download
to download packages fromgo.mod
DOCKER_IMAGE=golang-example-app TAG=development make docker-image
- command creates docker image based on this repo locally with artifacts(configs and etc)docker compose up
you can check it - https://github.com/Aristat/golang-example-app/blob/master/scripts/docker-compose-start.sh
REMOVE_CONTAINERS=on
- removes the old docker image latest before every new creation, this is just for convenience
In a real project, it is better to use some kind of circleci
is for generate image and AWS ECR
is for storing images or their analogues
NOTE: In this example, I did not save the ready-made docker image, the example was made just to show how to create a docker image
or it makes sense to move these steps into the docker layer, but I didn't have time to do it 😄 (maybe I'll look at it this week to make it easier to work with docker without install packages and golang locally and etc)
from golang-example-app.
thank you.
from golang-example-app.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from golang-example-app.