Created
          November 2, 2018 08:30 
        
      - 
      
- 
        Save RaD/51dbdd3dc4ff5baf49026d7184a6f05a to your computer and use it in GitHub Desktop. 
    How to build Docker image in the Docker container
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | FROM alpine:3.8 | |
| MAINTAINER Ruslan Popov <[email protected]> | |
| ARG SOURCE_VERSION=UNSPECIFIED | |
| ARG SOURCE_COMMIT=UNSPECIFIED | |
| ENV \ | |
| SOURCE_VERSION=${SOURCE_VERSION} \ | |
| SOURCE_COMMIT=${SOURCE_COMMIT} \ | |
| RUN apk update && \ | |
| apk add --no-cache --progress \ | |
| make \ | |
| git \ | |
| docker \ | |
| ca-certificates && \ | |
| rm -rf /var/cache/apk/* | |
| COPY ca.pem /usr/local/share/ca-certificates/halfakop.crt | |
| RUN update-ca-certificates | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment