Comments (6)
Correct, these images must be built from the root directory. Prior to #40 you could build from the "flavor"'s directory because nothing was COPYied. This also broke Docker's automated build as noted in that issue because it changes the working directory to that of the Dockerfile.
from docker-openresty.
https://hub.docker.com/r/openresty/openresty/builds/bgdcda7qz7yrvvfyokpj2p4/
Build failed: COPY failed: stat /var/lib/docker/tmp/docker-builder338523020/nginx.conf: no such file or directory
from docker-openresty.
And some more info :-)
The @1.13.6.1 doesn't seem to overwrite the conf. So the documentation refers to a version that hasn't been released, or?
https://github.com/openresty/docker-openresty/blob/1.13.6.1/alpine/Dockerfile
from docker-openresty.
Those are not tagged with 1.13.6.1. You have to use the untagged images which are at master.
See the bottom of #40
If you go to that 1.13.6.1 git tag, you will see the correct docs.
I haven’t received bug reports related to master so I probably will retag that soon.
Note that master uses OpenResty v1.13.6.1
from docker-openresty.
Where are you working in the directory?
$ pwd
~/docker-openresty
$ docker build -t myopenresty -f alpine/Dockerfile .
Unfortunately, (for practical and security reasons I guess), if you want to add/copy local content, it must be located under the same root path than the Dockerfile.
https://stackoverflow.com/questions/24537340/docker-adding-a-file-from-a-parent-directory
from docker-openresty.
I think this is taken care of with the latest releases.
from docker-openresty.
Related Issues (20)
- modsecurity-crs-docker integration HOT 18
- Openresty cannot able to resolve DNS changes HOT 1
- 你的微信号多少,发我邮箱
- ngx_http_upstream_check_module无法添加模块 HOT 1
- fedora aarch64 builds failing HOT 1
- Add Debian 12 `bookworm` release HOT 7
- Upgrade OpenSSL to 1.1.1u HOT 3
- image for new release v1.21.4.2 HOT 7
- Upgrade to openssl 3.0 HOT 1
- HTTP2 Rapid Reset Mitigation HOT 3
- Can't load the cjson module into luajit CLI HOT 1
- Update debian and other images HOT 1
- Builds for Debian 11 and 12 are broken HOT 2
- Image for new release 1.25.3.1 HOT 3
- Adding Third Party Modules to Debian Images Utilizing the ".deb" Installation
- OpenSSL 1.1.1x for CVE-2023-5678 HOT 1
- environment variable injected by docker compose is not available in openresty process HOT 2
- RHEL support for openresty HOT 2
- luajit: unknown luaJIT command or jit.* modules not installed HOT 3
- Rebuild image tag "alpine" CVE-2024-25062 HOT 1
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 docker-openresty.