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

Dockerfile 问题 #88

Open
flashjay opened this issue Sep 24, 2019 · 2 comments
Open

Dockerfile 问题 #88

flashjay opened this issue Sep 24, 2019 · 2 comments

Comments

@flashjay
Copy link

Bug report(问题描述)

Steps to reproduce(问题复现步骤)

  1. docker build -t auxpi:dev .

Screenshot or Gif(截图或动态图)

Sending build context to Docker daemon 386.1MB
Step 1/17 : FROM auxpi:base AS builder
pull access denied for auxpi, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

=> auxpi:base 这个镜像是在你本地吧?
=> 另外,用debain会不会导致release镜像太大?建议参考gitea把所有资源打包到一个二进制里面,然后使用alpine镜像来构建release镜像。

Server environment(服务器环境)

  • Your OS & version (服务器系统&版本): macos
  • DataBase & version (数据库&版本):

Other relevant information(格外信息)

  • auxpi version: dev
@flashjay
Copy link
Author

#87 @ysicing

docker search auxpi

NAME DESCRIPTION STARS OFFICIAL AUTOMATED

@ysicing
Copy link
Contributor

ysicing commented Sep 24, 2019

@flashjay 请使用make docker, 我个人比较喜欢使用debian作为基础镜像。

ysicing/auxpi                      latest              4479a3cb1e98        6 hours ago         155MB

Dockerfile问题,是因为默认有两个Dockerfile导致的,具体你可以参见Makefile,这个确实体验不是很好

将所有资源打包到一个二进制里面,这个我国庆搞一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants