Hi,

To build a small TS images, I tried build TS again on Alpine I used 8.1.x
branch (8.0.3 cannot be built on Alpine:edge), the build succeeded.

But the installed directory changed, not followed what defined by
"--prefix=". see following when "--prefix"is not defined:

/tmp # ls /usr/local/ -l
total 28
drwxr-xr-x    1 root     root          4096 Apr 25 15:58 bin
drwxr-xr-x    4 root     root          4096 Apr 25 15:58 include
drwxr-xr-x    1 root     root          4096 Apr 25 15:58 lib
drwxr-xr-x    1 root     root          4096 Apr 25 15:58 share
drwxr-xr-x    2 root     root          4096 Apr 25 15:58 var

/tmp # find / -name access_control.so
/trafficserver/access_control.so

/tmp # find / -name records.config
/trafficserver/records.config

If I configured "--prefix=/opt/ts", bin, include, lib, share and var are
installed to /opt/ts, and others (etc/, libexec/) are still installed to
/trafficserver.

This is the Dockerfile:
https://raw.githubusercontent.com/guofengzh/docker-trafficserver/master/Dockerfile-alpine


This is different from what built using centos:7 as the base images,where
all artifacts are installed into  the path that configured by "--prefix".

I know that this branch (8.1.x branch)  is WIP, I don't know if it should
be an issue, so just for you to know the case here.

Thanks,

Guofeng

Reply via email to